EricsonWillians
(usa Ubuntu)
Enviado em 05/04/2008 - 00:15h
Olá a todos!
Eu uso o Ubuntu 7.10, e por padrão no diretório /usr/include não havia o iostream.h
Então eu encontrei ele no /usr/include/c++/4.1.3/backward/iostream.h.. E copiei para a pasta.. Mas quando eu dou Include no meu código olha o que aparece:
/usr/include/iostream.h:31:30: erro: backward_warning.h: Arquivo ou diretório inexistente
Em arquivo incluído de /usr/include/iostream.h:32,
do Teste.c:2:
/usr/include/iostream:43:28: erro: bits/c++config.h: Arquivo ou diretório inexistente
/usr/include/iostream:44:19: erro: ostream: Arquivo ou diretório inexistente
/usr/include/iostream:45:19: erro: istream: Arquivo ou diretório inexistente
In file included from /usr/include/iostream.h:32,
from Teste.c:2:
/usr/include/iostream:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
In file included from Teste.c:2:
/usr/include/iostream.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
/usr/include/iostream.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
Alguém poderia me ajudar a fazer funcionar o iostream.h?
Muito obrigado!