Search:

Type: Posts; User: Middlechild47

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    888

    Need Help!

    Can someone please help me. My code won't decrement the way it should:




    #include <iostream>


    using namespace std;
  2. Replies
    9
    Views
    10,540

    bool isGameOver( int pileSize ) { if(int...

    bool isGameOver( int pileSize )
    {
    if(int nimSticks = false)
    cout<< "The game is over." <<endl<<endl;
    return false;
    }

    I changed the trues to falses and it works, but now I have a...
  3. Replies
    9
    Views
    10,540

    C++ NIM with functions

    I have a C++ program that I can not get to run. Can you
    please help me find the problem. The code is listed below.


    *************************************/


    #include <iostream>
Results 1 to 3 of 3