I got this error message when I was type 'gcc [input.cpp] -o [output.out]'
It's not correct syntax because 'gcc' is compiler for 'C' language.
'g++' is compiler for 'C++' language.
so, I did these steps.
1. sudo apt-get install g++
2. g++ [input.cpp] -o [output.out]
3. It's working!!
댓글 없음:
댓글 쓰기