I keep getting the following error (compiling using 'g++ assignment4.cpp')
assignment4.cpp:22: `main' must return `int'
assignment4.cpp: In function `int main(...)':
and main is void!
Any ideas as to what's wrong with my gcc settings or my code?Code:void main(void) {