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

Search:

Type: Posts; User: cilu

Page 1 of 80 1 2 3 4

Search: Search took 0.69 seconds.

  1. Re: How to put ascending integer and descending integer

    This forum is called VC++ programming, not netbeans C++ programming.
  2. Replies
    4
    Views
    1,142

    Re: token going null on second itteration of loop

    I guess it's null because the second call to strtok (NULL,",") just returns NULL. Did you check that?
  3. Replies
    2
    Views
    4,547

    Images on older articles

    I was looking today through my older articles and I noticed that most of the images are gone. Not just from one article, but most of them. What happened? Why are they gone? Some of the articles don't...
  4. Re: Transformation Error. I can not output a variable in TextBox Read more: http://f

    [ redirected ]

    I don't know what exactly you're trying to do, but this looks seriously bad. Can you explain in details what do you want to store in the textbox?
  5. Re: Struggling with Friend classes in seperate header files

    Yes, and?

    Now, I see no reason whatsoever, the Person should access privates of the account. Can you explain why you want that?
  6. Replies
    3
    Views
    1,764

    Re: problem in file writting with onsavedocument

    Are you sure it doesn't write or the file content is overwritten by CDocument::OnSaveDocument(lpszPathName)?

    But a breakpoint before the call to CDocument::OnSaveDocument(lpszPathName) and check...
  7. Replies
    2
    Views
    1,210

    Re: Making a "list box"

    Your attachment is invalid.
  8. Re: How to retrieve Remote desktop user domain name on Win2008 server

    Did you try LsaEnumerateLogonSessions (http://msdn.microsoft.com/en-us/library/aa378275(VS.85).aspx) and for each session call...
  9. Replies
    5
    Views
    6,069

    Re: Drawing text on a bitmap

    Well, it's a bitmap, so what would you expect? You have to "erase" the previous state before you draw the current one. So you have to do as D_Drmmr said, and repaint the rect where the text is drawn...
  10. Replies
    6
    Views
    2,497

    Re: are some features gone?

    I think the text is OK, but the header is messed up.
  11. Replies
    6
    Views
    2,497

    Re: are some features gone?

    OK, I see. Thanks.
  12. Thread: Error c2678

    by cilu
    Replies
    2
    Views
    1,584

    Re: Error c2678

    If channel is not a built-in type (bool, char, int, double, etc.) not a library class (such as std::string) that has overloaded the operator >>, then you need to explicitly overload operator>> to be...
  13. Replies
    2
    Views
    4,615

    Re: Where is _M_X64 in the 64-bit project?

    No, it's defined by the compiler when you select x64 as your target platform (from the project property).
  14. Replies
    6
    Views
    2,497

    are some features gone?

    The old version of the site used to have:

    a page that listed all members of the site; you could order them by name, number of posts or reputation
    a page in your user control panel where you...
  15. Replies
    21
    Views
    5,510

    Re: So did the vBulletin guys give up or what?

    If the site would be just a little bit slower I could probably fall asleep in front of the computer. :o
  16. Replies
    12
    Views
    3,331

    Re: A question regarding dllexport and dllimport

    Yes, it's going to fail when you want to import it in another module (DLL or EXE).
  17. Replies
    3
    Views
    10,394

    Re: GetDesktopWindow()

    This is by design with compatibility with older applications. It always returns the rectangle of the primary monitor. You need to call EnumDisplayMonitors() to get information about each monitor.
    ...
  18. Replies
    12
    Views
    3,331

    Re: A question regarding dllexport and dllimport

    In the project that exports something, you must marked the exported symbols (such as functions or types) with __declspec(dllexport). However, in the project where you import them, you must mark them...
  19. Thread: C++ Problem Help

    by cilu
    Replies
    2
    Views
    5,357

    Re: C++ Problem Help

    1. Yes, that seems correct.

    2. Yes, in pseudo code. Notice that comparing doubles is troublesome, because doubles don't have a precise binary representation. Doubles should be compared not...
  20. Re: Help with understanding what his algorithm does and how it comes up with the numb

    Take a look at this FAQ: http://forums.codeguru.com/showthread.php?366302-Visual-C-General-Can-you-help-me-with-my-homework-assignment.
  21. Replies
    6
    Views
    2,997

    Re: Working with File Extensions.

    Also take a look at this FAQ: http://forums.codeguru.com/showthread.php?312461-Windows-SDK-File-System-How-to-search-for-files-in-a-directory-and-subdirectories.
  22. Replies
    15
    Views
    5,114

    Re: insert jpeg in .cpp

    I'd expect you to read a bit about a new language you want to start developing with. Then you'd understand the absurdity of your request. I suggest you a good C++ book:...
  23. Replies
    6
    Views
    5,475

    Re: How to convert IP to hex using C++ ?

    headshot, you don't seem to understand the difference between integers, characters or strings. I think you need to start with the basics and then get to more complicated things.



    unsigned int...
  24. Replies
    7
    Views
    2,966

    Re: Append Data to CFile via FILE*

    You want to append in Serialize using a different method. But you know, the data you put in the archive might not be flushed to the file already, so your append might not be at the end, even if it...
  25. Replies
    6
    Views
    5,475

    Re: How to convert IP to hex using C++ ?

    I don't understand your ip_to_hex() function. If you want to convert a string with the ip in this format "70.42.23.121" then your function should take a string and not an integer.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured