FoxGaming
Exalted Member
As the title states I have a program that works 100% in MSVC but when compiled with GCC on redhat it's throwing Errors:
here is the code:
Header
Source
Main
yes this is a homework assignment, but I've already done the work but it appears MSVC is cheating somewhere and GCC is being dumb.
Code:
g++ -std=c++0x -c assign26.cpp
assign26.cpp: In function ‘int main()’:
assign26.cpp:62: error: no match for ‘operator<<’ in ‘std::operator<<
here is the code:
Header
Source
Main
yes this is a homework assignment, but I've already done the work but it appears MSVC is cheating somewhere and GCC is being dumb.