Search:

Type: Posts; User: Mr.OC

Search: Search took 0.00 seconds.

  1. For me, it really depends on how lazy I'm feeling...

    For me, it really depends on how lazy I'm feeling at the time. Normally I'll use the std:: prefix. Of course, the 'using namespace std' statement kind of defeats the purpose of even having...
  2. Replies
    6
    Views
    5,951

    Try this;...

    Try this; http://www.winprog.org/tutorial/apivsmfc.html

    That explains well enough what the differences are. Hope it helps.

    :)
  3. Replies
    12
    Views
    1,475

    In that case, I'll take a stab at it. :p The...

    In that case, I'll take a stab at it. :p

    The code in a function is copied into memory, and that copy is used when the function is called (throughout the entire life of the program). This is good...
  4. Thread: debug help

    by Mr.OC
    Replies
    2
    Views
    892

    You left out the semi-colon (';') after the...

    You left out the semi-colon (';') after the function prototype.

    Replace this...

    void check(double a, double b)
    With this...

    void check(double a, double b);

    That, and your call to cout.
  5. Thread: Stupid Menus!!!

    by Mr.OC
    Replies
    11
    Views
    1,288

    Here, try this. It should work for you. ...

    Here, try this. It should work for you.


    #include <iostream>

    using namespace std;

    //Function prototypes...
    void NewGame();
    void Online();
  6. Replies
    8
    Views
    1,182

    Just to clarify; std::string isn't a 'real' C++...

    Just to clarify; std::string isn't a 'real' C++ data type. It's part of a Class. That's why it didn't turn blue, like char or int would.

    That's good that you got it working, though. :)
Results 1 to 6 of 6