Search:

Type: Posts; User: Trey Brumley

Search: Search took 0.01 seconds.

  1. Thread: Code help

    by Trey Brumley
    Replies
    7
    Views
    972

    #include #include #include...

    #include <iostream>#include <fstream>#include <iomanip>
    using namespace std;


    const int size = 5;
    void square (int x[size][size]);
    void heading();


    ifstream infile;
  2. Thread: Code help

    by Trey Brumley
    Replies
    7
    Views
    972

    Okay, so I edited the code. The offending code...

    Okay, so I edited the code. The offending code now looks like this:

    for (c; c > 0; c--)

    which should work, but now nothing at all is printing. Not even "The user has chosen to determine...
  3. Thread: Code help

    by Trey Brumley
    Replies
    7
    Views
    972

    Code help

    The following code should determine whether or not a square of numbers is a magic square or not. The code debugs and run just fine, but the command prompt opens, asks me how many squares I would...
Results 1 to 3 of 3