3
referencia indefinida a 'std :: cout'
¿Será este el ejemplo? #include <iostream> using namespace std; int main() { cout << "Hola, moondo.\n"; } Lanza el error: gcc -c main.cpp gcc -o edit main.o main.o: In function `main': main.cpp:(.text+0xa): undefined reference to `std::cout' main.cpp:(.text+0xf): undefined reference to `std::basic_ostream<char,std::char_traits<char> >& std::operator<< <std::char_traits<char>>(std::basic_ostream<char, std::char_traits<char> >&, char const*)' main.o: In …