Sujet : Re: Application vs programme
De : pehache.7 (at) *nospam* gmail.com (pehache)
Groupes : fr.sci.jargonDate : 26. Mar 2024, 17:16:59
Autres entêtes
Organisation : Nemoweb
Message-ID : <w70ijJCPcZro_xHttwighR8sL50@jntp>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Nemo/0.999a
Le 26/03/2024 à 15:38,
ram@zedat.fu-berlin.de (Stefan Ram) a écrit :
Tu compiles ça:
====================================
#include <iostream>
#include <string>
>
int main() {
std::string str = "Hello World!"
cout << str << endl;
return 0;
}
Oui j'ai écrit rapidement sans rien vérifier. Pour faire simple:
====================================
#include <iostream>
#include <string> using namespace std;
int main() {
string str = "Hello World!";
cout << str << endl;
return 0;
}
====================================
En fait, dans mon environnement de travail, cela n'a pas ouvert de fenêtre.
Voilà...