Advertisement
dzieciol

Untitled

Feb 8th, 2015
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include <cstdlib>
  4. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  5. using namespace std ;
  6. int main(int argc, char** argv) {
  7.     ifstream plik;
  8.     plik.open("NAZWA PLIKU", ios::in);
  9.     int pierwsza[1000];
  10.     int druga[1000];
  11.     for(int i=1;i<1001;i++)
  12.     plik>>pierwsza[i]>>druga[i];
  13.    
  14.    
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement