Miscellaneous > Programming & Networking
learning C++
Faust:
quote:Weeaaak. What version of gcc do those computers have? (type g++ --version)
--- End quote ---
u2564793@iwaki g++ --version
2.8.1
u2564793@iwaki
flap:
I think there's no support for namespaces in that version of g++ (it's about 5 years old). Get your sys admins to upgrade.
solo:
probably doesnt support it, but try 'using namespace std;' above and outside the main function.
if that doesnt work, just try omitting all the using statements and try using cout without std:: attached to it. Behind the standards mebbe?
Navigation
[0] Message Index
[*] Previous page
Go to full version