Advertisement
Guest User

main

a guest
Nov 22nd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. int main () {
  2.  
  3. cout << "veuillez entrer le fichier source" << endl;
  4. string nomFichier;
  5. getline (cin,nomFichier);
  6. string commande("ls -l");
  7. system(commande.c_str());
  8. struct stat s;
  9. Stat (nomFichier,&s);
  10. int Fic = open (nomFichier,O_RDONLY);
  11.  
  12.  
  13.  
  14.  
  15.  
  16. } // main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement