Hello Légèreté fait la course en orbite,
I'd like to emphasize that even though you follow all the answers given here, your program still won't compile because of your punctuation. Semicolons are preceded by a non-breaking space in French.
I would recommend the following:
#inclure
ent principal(ent narg, cara** marg) // entier, nombre d'arguments, valeur des arguments
{
std::cendehors << "Bonjour le monde !\n" ;
renvoyer SORTIE_SUCCÈS ;
}
Please notice I changed argn
to narg
, as it is more natural in French (nothing to do with hungarian notations though)!
Edit: followed angew's recommendation