[gull] C++ sous linux

Philippe Strauss philou at philou.ch
Sun Apr 24 07:19:02 CEST 2005


On Sun, Apr 24, 2005 at 04:09:37AM +0200, patrick jayet wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bonsoir à tous,
> 
> J'essaie de compiler un petit programme test en C++ sous linux utilisant
> les librairies standard C++:
> 
> #include <iostream>

using namespace std;

> int main()
> {
>         cout << "hello world\n";
>         return 0;
> }
>
> first.cpp:5: error: `cout' undeclared (first use this function)

je découvre ce bidule de namespace à l'instant, faut pas
m'en demander plus(plus)



More information about the gull mailing list