widedtlig
-
24 avril 2013 à 17:38
cptpingu
Messages postés3837Date d'inscriptiondimanche 12 décembre 2004StatutModérateurDernière intervention28 mars 2023
-
24 avril 2013 à 19:54
bonjour, s'il vous-plait aidez moi comment je peux ouvrir et ecrire un ficier.txt en visual C++ 2010 j'ai commencer et voila,comment je peux afficher les contenues de fichier????????????
int _tmain(int argc, _TCHAR* argv[])
{
std::ifstream file("fichier.txt");
if (!file)
{
return 1; //if cannot find file, all of the time
}
________________________________________________________________________
Historique de mes créations, et quelques articles:
[ http://0217021.free.fr/portfoliohttp://0217021.free.fr/portfolio]
Merci d'utiliser Réponse acceptée si un post répond à votre question