5 réponses
VOILA JE VEUX APPRENDRE LE C++ . ALORS G START PAR CE QUE VEUX LA COUTUME, G TAPE LES INSTRUCTIONS SUIVANTES :
#include <iostream>
int main()
{
cout << "Hello World" << endl;
return 0;
}
ET LORSQUE JE LE COMPILE IL TROUVE 70 ERREURS.
G RI1 COMPRIS
MERCI PR VOTRE AIDE
#include <iostream>
int main()
{
cout << "Hello World" << endl;
return 0;
}
ET LORSQUE JE LE COMPILE IL TROUVE 70 ERREURS.
G RI1 COMPRIS
MERCI PR VOTRE AIDE
Trouvé sur Google:
Je ne l'ai pas testé.
J'espère que ça t'aidera.
// File name: HelloWorld.cpp // Purpose: A simple C++ program which prints "Hello World!" on the screen #include <iostream> // need this header file to support the C++ I/O system using namespace std; // telling the compiler to use namespace "std", // where the entire C++ library is declared. int main() { // Print out a sentence on the screen. // "<<" causes the expression on its right to // be directed to the device on its left. // "cout" is the standard output device -- the screen. cout << "Hello World!" << endl; return 0; // returns 0,which indicate the successful // termination of the "main" function }
Je ne l'ai pas testé.
J'espère que ça t'aidera.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question