Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <fstream>
  2. #include <string>
  3. //ZESTAW 12 Zadanie 1.2 1.5 3 //
  4. using namespace std;
  5.  
  6. void zadanie1algorytmIIV ()
  7. {
  8. int n ,k,licznik=0;
  9. ifstream filein( "In0101.txt" );
  10. ofstream fileout( "Out0101.txt" );
  11. if(filein.good()==true)
  12. {
  13. filein>>n;
  14. filein>>k;
  15. }
  16. filein.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement