where would I place that within the code? after using namespace std; ?
when i do that it gives me this error:
1>c:\documents and settings\student\my documents\visual studio 2008\projects\04shoemaker\04shoemaker\04shoemaker.cpp(7) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
You have a semicolon ';' after your main() function head:
void main ();
That is a syntax error. Delete the semicolon:
void main ()
That should help :o)
You use a semicolon there when you are *declaring* a function but not when you are *defining* the function. That is, not when you are supplying the function body (the part in curly braces {}).