Search:

Type: Posts; User: HybridM

Page 1 of 15 1 2 3 4

Search: Search took 0.02 seconds.

  1. I'd thank Derek Smart, but he's the biggest idiot...

    I'd thank Derek Smart, but he's the biggest idiot on the Internet, and that's a big call I know.

    I suppose this is an effort by MS to phase out MSVC 6, but it seems to me that the majority of the...
  2. Replies
    2
    Views
    1,589

    Really, the best way to do this (if I understood...

    Really, the best way to do this (if I understood you correctly) is just the start at the minimum possible number and increment up to the maximum.

    Alternatively if what you want is for the computer...
  3. As long as the kids know they don't have to say...

    As long as the kids know they don't have to say it if they don't want to.

    The thing is though, no matter how many times those kids repeat that pledge, they will probably never consider its actual...
  4. Replies
    4
    Views
    1,324

    I think it's pretty easy to work it out without...

    I think it's pretty easy to work it out without anything at all. But you could put a comment there if you're worried. Don't over-comment though, cardinal sin. :)
  5. Replies
    4
    Views
    1,324

    Only thing I would suggest is at the end of a...

    Only thing I would suggest is at the end of a cout where you want a new line you should use "<< endl;" instead of the newline escape character.

    Also you have the variable month but you don't use...
  6. Replies
    8
    Views
    1,664

    Does it work in safe mode?

    Does it work in safe mode?
  7. Replies
    17
    Views
    8,805

    Oops ty prelude.

    Oops ty prelude.
  8. Replies
    17
    Views
    8,805

    the recv() function acts differently to send() ...

    the recv() function acts differently to send()

    What you will need to do is create a temporary c-style string buffer, use that in the call to recv() and then copy the c-string into your...
  9. Replies
    17
    Views
    8,805

    the c_str() member of the std::string class is a...

    the c_str() member of the std::string class is a function, so it needs brackets.
  10. Replies
    20
    Views
    2,850

    Actually that would be a grammar issue. :P

    Actually that would be a grammar issue. :P
  11. Thread: New Theme

    by HybridM
    Replies
    160
    Views
    58,615

    I like the thin horizontal rule that separates...

    I like the thin horizontal rule that separates the posts now, but sigs are appearing just below the last line of text (see thantos' post). It doesn't look right to me, having all that space below it.
  12. Replies
    28
    Views
    3,385

    If only it was C++: int Comparestr(const...

    If only it was C++:


    int Comparestr(const char* str1, const char* str2)
    {
    std::string temp1 = str1, temp2 = str2;

    if(temp1 == temp2)
    return 0;
  13. Thread: New Theme

    by HybridM
    Replies
    160
    Views
    58,615

    Not sure if this is meant to be the case of not,...

    Not sure if this is meant to be the case of not, but there is no scroll bar on code tags and it really sucks.

    Love the quick reply box, needed one for a long time.
  14. Replies
    15
    Views
    5,123

    There's so much money to be made from people who...

    There's so much money to be made from people who refuse to believe death is the end.

    I always like how if he's stuck he can read someone from the crew. What a crock.
  15. Thread: New Theme

    by HybridM
    Replies
    160
    Views
    58,615

    Just had to post to see what it's like. I...

    Just had to post to see what it's like.

    I don't mind the new theme. Old smilies would be good, the colours are buggered on the new ones. Other than that I will like it once I get used to it I...
  16. Replies
    16
    Views
    3,776

    As far as I know it's not really any different,...

    As far as I know it's not really any different, but it's considered bad practice to bring all those names in to scope when you're not going to use them.

    And it's also better to use the third...
  17. Replies
    16
    Views
    3,776

    You can put: cin.get(); // just before return...

    You can put:

    cin.get(); // just before return or
    system("pause"); // windows only


    edit: or you could execute from the command prompt rather than executing the executable on its own.
  18. Replies
    12
    Views
    2,127

    You can only do that if the Operating System lets...

    You can only do that if the Operating System lets you. Otherwise you'll get a protection fault when you try to access it. I think?
  19. Replies
    16
    Views
    3,776

    And to answer your second question, main() is...

    And to answer your second question,

    main() is the function that the operating system calls to begin your program. Every program must have a main() function. It's possible not to return a value...
  20. Replies
    16
    Views
    3,776

    Hi there, You're getting errors because in the...

    Hi there,

    You're getting errors because in the new headers (without the .h) all the functions etc. (cout etc.) are in what's called a namespace, they are in a namespace called std. So you need to...
  21. Replies
    15
    Views
    3,286

    For Win32 platform, I recommend Win32 API.

    For Win32 platform, I recommend Win32 API.
  22. Replies
    2
    Views
    1,432

    Thanks codeplug I did search around.

    Thanks codeplug

    I did search around.
  23. Replies
    9
    Views
    4,421

    CBN_CLOSEUP idComboBox = (int) LOWORD(wParam);...

    CBN_CLOSEUP
    idComboBox = (int) LOWORD(wParam); // identifier of combo box
    hwndComboBox = (HWND) lParam; // handle of combo box


    but


    WM_COMMAND
    wNotifyCode = HIWORD(wParam);...
  24. Replies
    9
    Views
    4,421

    No probs. :)

    No probs. :)
  25. Replies
    9
    Views
    4,421

    yeah just send the something like the...

    yeah just send the something like the CB_GETCURSEL message, which will return the zero-based index of the item currently selected, then do your thang.
Results 1 to 25 of 357
Page 1 of 15 1 2 3 4