Jun 28, 2014 at 7:14am UTC
Hello everyone I am new in programming and I wish to know or are my faults his fact in Mons three hours that I seek and that I thank you do not find anything me to say them so that I can realizes there :
#include <iostream>
#include <string>
using namespace std;
/*
Fonction principale "main"
*/
int main ()
{}
string nomUtilisateur ("GamblinLucas")
cout << "Projet 1" << endl;
int ageUtilisateur(15);
//CDL
int nbAmis(423);
//NARS
bool facebook(true)
//RS?
}
int main ()
{}
int ageUtilisateur(16);
cout << "Votre age est : ";
cout << "ageUtilisateur: ";
//Compilation Calcul 16
int ageUtilisateur(16);
cout << "Votre age est : " << ageUtilisateur << endl;
int qiUtilisateur(150);
string nomUtilisateur("GamblinLucas");
cout << "Vous vous appelez " << nomUtilisateur << " et votre QI vaut " << qiUtilisateur << endl;
}
// Result:150 , GamblinLucas
return 0;
Jun 28, 2014 at 8:54am UTC
What are you doing bro ?????
At least explain what you want to do ????
Jun 28, 2014 at 9:31am UTC
Lines 17, 20, 23, 35etc. Those are not errors, but correct initialization of variables.
Jun 28, 2014 at 9:33am UTC
Sorry for not mentioning that, thank you for the clarification!