Cao!
Imam mali problem - ne uspeva mi da iskompajliram nista od C++ programa
sto sadrzi poziv header fajlova
evo sta dobijam za ovakvo programce:
#include <iostream.h>
int main(void) { cout<<"Hello!"; return 0; }
[ana@localhost cproba]$ g++ hello.cpp -o hello1
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
from hello.cpp:1:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
a ovo ako u programu stavim samo #include <iostream>
[ana@localhost cproba]$ g++ hello.cpp -o hello1
hello.cpp: In function `int main()':
hello.cpp:4: `cout' undeclared (first use this function)
hello.cpp:4: (Each undeclared identifier is reported only once for each function it appears in.)
Kako ovo da sredim ? U pitanju je Mandrake 9,gcc 3.2
hvala unapred na pomoci :) Ana




g++ i C++biblioteke 
