MeehoweCK

Untitled

Jun 4th, 2024
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3.  
  4. int main() {
  5.     std::ifstream plik{ "liczby_bin.txt" };
  6.     std::string liczba;
  7.     for (int i{}; i < 1000; ++i) {
  8.         plik >> liczba;
  9.         std::cout << liczba << std::endl;
  10.     }
  11.     plik.close();
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment