1> letcount2.cpp 1>letcount2.cpp(9): error C2144: syntax error : 'int' should be preceded by ';' 1>letcount2.cpp(14): error C2143: syntax error : missing ';' before '<<' 1>letcount2.cpp(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>letcount2.cpp(15): error C2143: syntax error : missing ';' before '>>' 1>letcount2.cpp(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>letcount2.cpp(17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>letcount2.cpp(17): error C2086: 'int x' : redefinition 1> letcount2.cpp(9) : see declaration of 'x' 1>letcount2.cpp(19): error C2059: syntax error : 'while' 1>letcount2.cpp(19): error C2143: syntax error : missing ';' before '{' 1>letcount2.cpp(19): error C2447: '{' : missing function header (old-style formal list?) 1>letcount2.cpp(24): error C2059: syntax error : 'return' 1>letcount2.cpp(25): error C2059: syntax error : '}' 1>letcount2.cpp(25): error C2143: syntax error : missing ';' before '}' 1>letcount2.cpp(25): error C2059: syntax error : '}' |
|
|
|
|