were are the c++ libraries?
Adriano Varoli Piazza
moranar at gmail.com
Fri May 12 12:41:16 UTC 2006
On 5/12/06, Dimitri Mallis <dimitri.mallis at gmail.com> wrote:
> hi list,
>
> i cant complie things using gcc because it sais
>
> root at ubuntu:~/programming/c++# gcc 920402411_10.cpp -o 920402411_10
> 920402411_10.cpp:1:20: error: isotream: No such file or directory
> 920402411_10.cpp: In function 'int main()':
> 920402411_10.cpp:7: error: 'cout' was not declared in this scope
> 920402411_10.cpp:7: error: 'endl' was not declared in this scope
> root at ubuntu:~/programming/c++#
>
> the file i want to compile is
>
> #include <isotream>
>
> using namespace std;
>
> int main()
> {
> cout << "hello world" << endl;
> return 0;
> }
>
> i looked in usr/include & there was no STL libraries
> how can i add the STL libraries or if they are on my pc were can i find
> them
>
> thank you
>
>
Try compiling with g++ instead of gcc.
--
Adriano Varoli Piazza
The Inside Out: http://moranar.com.ar
ICQ: 4410132
MSN: moranar at gmail.com
More information about the ubuntu-users
mailing list