Recent Posts
PHP | 6 sec ago
None | 8 sec ago
PHP | 10 sec ago
None | 30 sec ago
None | 30 sec ago
None | 34 sec ago
PHP | 44 sec ago
None | 48 sec ago
C++ | 53 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 10th of Feb 2010 12:56:51 AM Download | Raw | Embed | Report
  1. int main()
  2. {
  3.     ifstream fichierIn("test.txt");
  4.     ofstream fichierOut("testChiffre.txt",ios_base::trunc);
  5.    
  6.     if (!fichierIn.is_open())
  7.     {
  8.         cerr << "Impossible d'ouvrir test.txt" << endl;
  9.         return -1;
  10.     }
  11.    
  12.     if (!fichierOut.is_open())
  13.     {
  14.         cerr << "Impossible d'ouvrir testChiffre.txt" << endl;
  15.         return -1;
  16.     }
  17.    
  18.     // instructions
  19. }
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: