Hi, I can see an immediate issue with your code. Not sure if it is the only one but at line 17, where your if statement starts, you do not have the brackets to close off the if statement. After if(number > 0), you need to press enter then place { followed by the closing bracket } after the positive += 1;. You need the same thing for the else statement. That seems to be possibly what the error at the top is stating. Of course that could just be one issue but I would try that out first.
If you have any other questions, check out my website www.simplecomputerapps.webs.com and post your programming questions on the forum here as well because I can see them better and more often to give you greater assistance. That site provides apps for free download and welcomes new suggestions as well as help in creating your own apps.
By the look of it your project is set up incorrectly. You need to make sure you are on a console application when you set it up and not a Windows application (in this case they are expecting a different form of the main function for Windows).
Try starting another project with console settings and pasting the code there.
(You may also just be able to go to Project - Properties - Linker - System and change the SubSystem to console, if you are on Visual Studio).
I would rewrite the main loop together with the previous prompt the following way
1 2 3 4 5 6 7 8 9 10 11 12 13 14
do
{
//get another number
cout << "Enter another positive or negative integer (enter 0 to end): ";
cin >> number;
//update counters
if ( number > 0 )
positive++;
elseif ( number < 0 )
negative++;
//end if
} while ( number != 0 );