Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<fstream>
- using namespace std;
- int main(){
- ofstream plik ("dane.txt");
- if(!plik.is_open())
- {
- cout << "Brak dostepu do pliku";
- }
- for (int i = 1; i <= 10; i ++) for (int j = 1; j <= 10; j++) plik<<i*j<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment