Search:

Type: Posts; User: motocross1

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,274

    Oh, and one last nemesis related to #ifdef and...

    Oh, and one last nemesis related to #ifdef and #endif


    #ifdef PROVERSION
    x=123; \
    #endif

    Try banging your head on the wall fixing that one.
    (shh... don't tell anyone: there...
  2. Replies
    6
    Views
    3,274

    Wow, you're right. I bet you see the XY problem...

    Wow, you're right.
    I bet you see the XY problem once a week here.
    I would even say that is one of the biggest nemeses of programmers.
    The other being cut-n-paste without completely editing the...
  3. Replies
    6
    Views
    3,274

    So, I can build to different folders now. And it...

    So, I can build to different folders now.
    And it is "relatively" simple to do.
    (ignoring all the trial-and-errors and endless Google searches)

    I copy-n-pasted my project vcxproj file to a new...
  4. Replies
    6
    Views
    3,274

    Oh well. I thought that would be the case....

    Oh well. I thought that would be the case.
    Thanks for replying.
  5. Replies
    6
    Views
    3,274

    Change build directory with #ifdef

    Is it possible to add a special pragma or something to tell the compiler which folder to build to based on #ifdef #else
    Thanks
  6. Replies
    3
    Views
    2,088

    Unfortunately, the website that I am POSTing to...

    Unfortunately, the website that I am POSTing to is HTTPS.

    But that does give me an idea...
    Maybe I can POST to a friend's website and see the data that way.

    Thank-you for spurring my mind.
  7. Replies
    3
    Views
    2,088

    Note: WinInet doesn't FAIL in making the POST....

    Note:
    WinInet doesn't FAIL in making the POST.
    It's just that the website rejects the POST as being incorrect data.
  8. Replies
    3
    Views
    2,088

    POSTing an XML string

    I need to POST a normal-everyday XML data string to a website.

    I FAIL when I POST with WinInet using:

    string Headers="Content-Type: application/xml";
    string POSTdata="<?xml version=\"1.0\"...
  9. Replies
    1
    Views
    1,065

    You're not using the studentID function

    You're not using the studentID function
  10. Replies
    104
    Views
    13,151

    Ad hominem, the Dunning-Kruger effect, Charles...

    Ad hominem, the Dunning-Kruger effect, Charles Darwin, Bertrand Russell, overly-pedantic
    Some really intellectual comments, I love it.
    And the dragon artwork - very, very cool.

    And, yes, I guess...
  11. Replies
    104
    Views
    13,151

    This is a legitimate question. I associate...

    This is a legitimate question.
    I associate "professional code" with being primarily, "fast and efficient" and "not going to cause memory problems".

    I view C++ as a powerful tool.
    You guys view...
  12. Replies
    104
    Views
    13,151

    Okay, buddy, you get to go to heaven now. Of...

    Okay, buddy, you get to go to heaven now.
    Of course, you just proved why religion is bad.
    Anyway, sorry for that analogy. It was insensitive.

    Back on topic, Singletons are bad here too:
    jalf.dk...
  13. Replies
    104
    Views
    13,151

    Note: Singletons are not thread safe... C++ and...

    Note: Singletons are not thread safe...
    C++ and The Perils of Double-Checked Locking: Part I | Dr Dobb's

    And, you guys are right about my use of "Professional".
    Scratch that.
    "Professional"...
  14. Replies
    104
    Views
    13,151

    YES, finally, someone noticed. I'm not a...

    YES, finally, someone noticed.
    I'm not a corporation.

    Even then, do a Google: "gobals are good"
    There are some great reads out there:
    I love globals, or Google Core Dump
    The more I read, the...
  15. Replies
    104
    Views
    13,151

    "where would you go to find out what is wrong"...

    "where would you go to find out what is wrong"
    1-billion lines of code, find this: global_isLoggedIn=(true|false);
    Very easy.
    Duh.
  16. Replies
    6
    Views
    3,430

    I did some 'case' logging and InvalidateRect does...

    I did some 'case' logging and InvalidateRect does nothing, so I went back to Google:
    Custom draw trackbar

    I've obviously somehow already read this I think. I don't remember.
    I am refactoring my...
  17. Replies
    104
    Views
    13,151

    GOTO is a stupid example - it IS hard to follow....

    GOTO is a stupid example - it IS hard to follow.

    if( !User.isLoggedIn ) DoLogin();
    ...is the same as...
    if( !global_isLoggedIn ) DoLogin();
    Both are easy to track and understand.

    My code is...
  18. Replies
    104
    Views
    13,151

    Sorry if I was a bit overly cocky - it does feel...

    Sorry if I was a bit overly cocky - it does feel somewhat like a competition.
    But, I think using a namespace in my situation is a perfectly legitamate C++ usage.
    I actually love it.

    (I really do...
  19. Replies
    6
    Views
    3,430

    Oh well. That didn't work either. What's weird...

    Oh well.
    That didn't work either.
    What's weird is that when color=newcolor (nothing changes) and I hover over the thumb, then the thumb instantly changes to the new color, but not the track. But...
  20. Replies
    104
    Views
    13,151

    The forum's own website: FAQ > C++ Namespaces -...

    The forum's own website:
    FAQ > C++ Namespaces - Cprogramming.com

    WOW, I beat you guys.
    I can't believe it.
  21. Replies
    104
    Views
    13,151

    Looks global to me: Namespaces - C++...

    Looks global to me:
    Namespaces - C++ Documentation
  22. Replies
    104
    Views
    13,151

    pheininger, Thanks for the plug, but trust me,...

    pheininger,
    Thanks for the plug, but trust me, the Professionals seem to only listen to those with a high number of posts.

    Elkvis,
    "if you want intelligent discourse on the merits (or lack...
  23. Replies
    104
    Views
    13,151

    If I had a nickel every time I've heard that one,...

    If I had a nickel every time I've heard that one, wow, let me tell you, I'd have 5-cents. ;)
    (sorry I called you a jerk)
  24. Replies
    104
    Views
    13,151

    Hurray. Then gimme somes Like's already. After...

    Hurray. Then gimme somes Like's already.
    After this beating, I need a booster.
  25. Replies
    104
    Views
    13,151

    I'm a believer now, I've seen the light. Glory...

    I'm a believer now, I've seen the light. Glory halleluha!!!
    I "Like" it all. Like, Like, Like.

    Are you happy now?
    How about ending the thread, jerk?
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4