Advertisement
AbraaoAllysson

salveFile

Jun 14th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1.   ofstream myfileWrite(( "CAMINHOaRQUIVO" + ".txt") );
  2. while (  !myFile.eof() )
  3. {
  4.        
  5.        myfileWrite << "CONTEUDO";  
  6.        myfileWrite << "\n";
  7.       // cout<<"ddfkdskjjdskfkjds" <<endl;
  8. }
  9.  myFile.close();
  10.  myfileWrite.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement