SHARE
TWEET

Untitled

a guest Sep 19th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. ifstream WE;
  6. ofstream WY;
  7. string t[1009];
  8.  
  9. int main()
  10. {
  11.     WE.open("przyklad.txt");
  12.  
  13.     for(int i = 1; i <= 1000; i++)
  14.     {
  15.         WE >> t[i];
  16.     }
  17.  
  18.     for(int i = 40; i <= 1000; i += 40)
  19.     {
  20.         cout << t[i][9];
  21.     }
  22.  
  23.     WE.close();
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top