Hi folks! I have to use gcc now. What fun this is. At the moment I can't even get hello world to build!
gcc says this:Code:#include <iostream> int main(void) { std::cout << "hello world" ; }
undefined reference to 'std::cout'
so I guess I need to link to a library. How do I do this?




Reply With Quote