Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why won't this compile?

Name: Anonymous 2008-07-15 23:06

#include <iostream>

using namespace std;

main()
{
int x = 0;
int i = 6;
for (int i = 6; i > 0, i--, x++)
(
         cout << "i = " << i << endl;
         cout << "x = " << x << endl;
)
         if (x != i)
            continue;

cout << "This is now equal." << endl;    

}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List