
please wait
|
|
|
|
|
|
1>------ Build started: Project: BrownKHW3, Configuration: Debug Win32 ------ 1> BrownKHW3.cpp 1>Caesar.h(11): error C2146: syntax error : missing ';' before identifier 'encode' 1>Caesar.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(11): error C2061: syntax error : identifier 'string' 1>Caesar.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(11): warning C4183: 'encode': missing return type; assumed to be a member function returning 'int' 1>Caesar.h(12): error C2146: syntax error : missing ';' before identifier 'decode' 1>Caesar.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(12): error C2061: syntax error : identifier 'string' 1>Caesar.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(12): warning C4183: 'decode': missing return type; assumed to be a member function returning 'int' 1>BrownKHW3.cpp(32): error C2660: 'Caesar::encode' : function does not take 1 arguments 1> Caesar.cpp 1>Caesar.h(11): error C2146: syntax error : missing ';' before identifier 'encode' 1>Caesar.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(11): error C2061: syntax error : identifier 'string' 1>Caesar.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(11): warning C4183: 'encode': missing return type; assumed to be a member function returning 'int' 1>Caesar.h(12): error C2146: syntax error : missing ';' before identifier 'decode' 1>Caesar.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(12): error C2061: syntax error : identifier 'string' 1>Caesar.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Caesar.h(12): warning C4183: 'decode': missing return type; assumed to be a member function returning 'int' 1>Caesar.cpp(19): error C2511: 'std::string Caesar::encode(std::string)' : overloaded member function not found in 'Caesar' 1> Caesar.h(7) : see declaration of 'Caesar' 1>Caesar.cpp(48): error C2511: 'std::string Caesar::decode(std::string)' : overloaded member function not found in 'Caesar' 1> Caesar.h(7) : see declaration of 'Caesar' 1>Caesar.cpp(74): fatal error C1004: unexpected end-of-file found 1> Generating Code... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
int main()
int main(int, char**)
|
|
|
|
CLR Console Application |
using namespace System;
you might be coding C++/CLI... in which case I don't know if many people here will be able to help you... as many of us are unfamiliar with it.