Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3.  
  4. using namespace std;
  5.  
  6. ///Idee : double boucle for ?
  7.  
  8. int main()
  9. {
  10.     ifstream presence("presence.txt");
  11.     if (presence.is_open())
  12.     {
  13.         string a;
  14.         presence>>a;
  15.         for(int i=0;i<a.size();i++)
  16.         {
  17.             if (a<"z")
  18.             {
  19.  
  20.             }
  21.         }
  22.     }
  23.     else
  24.         cout << "ERREUR Le fichier ne s'ouvre pas" << endl;
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement