I'm having trouble trying to figure out what the compile error is for my program. When i compile my program [it's a class by the way] i get this message:
anyone know what could be the matter? The code is long, so if it'll help, I can post it when requested.Code:g++ Date.cpp driver.cpp Date.cpp: In member function `void Date::display(std::ostream&) const': Date.cpp:72: error: invalid operands of types `const char[1]' and `const int' to binary `operator<<' Date.cpp:73: error: invalid operands of types `const char[1]' and `const int' to binary `operator<<' Date.cpp:73: error: expected `)' before ';' token Date.cpp:73: error: expected `)' before ';' token
Thank you



LinkBack URL
About LinkBacks


