http://www.cprogramming.com/tutorial/lesson2.htmlWont you need brackets for this if statement?
I believe that it will only do the cout << endl; there but im not sure....
The structure of an if statement is as follows:
if (TRUE)
Do whatever follows on the next line.
To have more than one statement execute after an if statement that evaluates to true, use brackets.
For example:
if (TRUE)
{
Do everything between the brackets.
}