When you have int main() it means that the function main() is returning a value of type int (an integer). Right after your cout statement you have to add a return (0); statement.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Offline 13,645 posts
since Feb 2002