Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Page 1 of 80 1 2 3 4

Search: Search took 0.11 seconds.

  1. Thread: Why not C?

    by 2kaud
    Replies
    6
    Views
    106

    Re: Why not C?

    The c language and the 'c' part of c++ have some differences.
  2. Thread: Why not C?

    by 2kaud
    Replies
    6
    Views
    106

    Re: Why not C?

    Assembler!
  3. Thread: Hello! I'm new

    by 2kaud
    Replies
    4
    Views
    134

    Re: Hello! I'm new

    When posting code, please use code tags as without using them it is almost impossible to read code. Go Advanced, select the formatted code and click '#'.

    What's wrong with using the STL list...
  4. Re: How to use TextOut without processing WM_PAINT?

    WM_INITDIALOG is sent to the dialog box procedure immediately before a dialog box is displayed. As the dialog box is not yet displayed, nothing can be shown on it!
  5. Re: array of numbers sorted in the ascending order

    What happens if the number isn't found in the array?
  6. Replies
    2
    Views
    113

    Re: RFC 2046: Mime types

    According to RFC 3851 (from 2004) which covers secure MIME, MIME is defined in RFC 2045, 2046, 2047, 2048, 2049.

    Is there anything in RFC 2049 which covers MIME Conformance Criteria and Examples...
  7. Replies
    6
    Views
    194

    Re: days list between the two dates.

    This compiles as c with MS VS2013


    #include <stdio.h>
    #include <time.h>
    #include <string.h>

    #define secDay 86400

    struct datec
  8. Re: [RESOLVED] How add notification balloon with Shell_NotifyIcon()?

    #define NIF_SHOWTIP 0x00000080 //i add these const, because not all compiler(like mine) have it


    This would usually be coded as


    #ifndef NIF_SHOWTIP
    #define NIF_SHOWTIP 0x00000080
    #endif
  9. Replies
    6
    Views
    194

    Re: days list between the two dates.

    Another way to approach this is as below. This will give you the required output. Note that it doesn't verify the start and end dates. This could be easily added if needed.



    #include <iostream>...
  10. Replies
    4
    Views
    184

    Re: Help with program

    cin >> inFile;
    infile.open(inFile)


    whatever you thought these lines do, they don't! You need to read in the name of a file. A file name will usually be of type string (or alternatively an array...
  11. Re: [C/C++ 11 - win32] - about Notification area

    Don't you need to define WINVER and _WIN32_WINNT ?

    See https://msdn.microsoft.com/en-us/library/6sehtctf.aspx
  12. Re: [C/C++ 11 - win32] - about Notification area

    You want to show the tooltip in a balloon rather than the standard rectangle?

    If you set the text for .szInfo then this text is displayed in a balloon notification. See...
  13. Replies
    9
    Views
    203

    Re: file i/o from bottom to the top

    You could do something like this if the file can be stored in a vector


    #include <vector>
    #include <fstream>
    #include <string>
    #include <iostream>
    #include <sstream>
    using namespace std;
  14. Replies
    9
    Views
    203

    Re: file i/o from bottom to the top

    Approx how many lines will they be in the file? And will each line always be made up of 6 numbers?
  15. Re: I am trying to write a console app in c for shutdown pause.

    Have you understand posts #8, #9, #13 and #14 re using code tags??????? :(

    So before you ask further questions, I would suggest that you format your code properly as repeatedly requested.
  16. Re: I am trying to write a console app in c for shutdown pause.

    I'll look at the code when you follow the requirements of this forum and use code tags for your code as previously requested.
  17. Re: how to register an exe file in windows startup service routine

    Anti-virus software uses Windows services which need to be written as Window services. I gave you the link as to these details.

    If you want to use an existing .exe as a service then you can use...
  18. Re: I am trying to write a console app in c for shutdown pause.

    AbortSystemShutdown() can only abort a shutdown initiated via InitiateSystemShutdownEx() or InitiateSystemShutdown() whilst the shutdown dialog box is displayed.

    If the system is shutdown via...
  19. Re: how to register an exe file in windows startup service routine

    A program that starts whenever Windows starts is known as a service. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms685141%28v=vs.85%29.aspx for further details.

    Also you can...
  20. Re: I am trying to write a console app in c for shutdown pause.

    Please use code tags as per my post #2 when posting code.
  21. Re: I am trying to write a console app in c for shutdown pause.

    Yes in a Windows program - See WM_QUERYENDSESSION https://msdn.microsoft.com/en-us/library/windows/desktop/aa376890%28v=vs.85%29.aspx
  22. Replies
    4
    Views
    263

    Re: Bytes of Image in C++

    What data are you actually reading?

    tellg() returns the position of the current character in the input stream. In the code in post #1 you are trying to obtain the size of the file without setting...
  23. Replies
    4
    Views
    263

    Re: Bytes of Image in C++

    What is memblock?
  24. Re: [Help] Wininet Aplication does not Send to php File.

    HINTERNET hRequest = HttpOpenRequest(hConnect,"GET","/pcinfo/gate.php?hWid=hWid()&compName=getenv("COMPUTERNAME")&userName=getenv("USERNAME")&ip=127.0.0.1",NULL,NULL,NULL,0,0);


    No, you can't do...
  25. Replies
    4
    Views
    257

    Re: Understanding Iterators

    If tgt is "p", then your first find will return grid.end() as "p" is not an element of your vector. You need to pass "p--" which will be found.

    For your second find, you need to find the first...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center