Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- using namespace std;
- main()
- {
- char a='A';
- char alf[26];
- for(int i=0;i<26;i++)
- {
- alf[i]=a;
- a++;
- }
- ifstream fin("dane_6_2.txt");
- string wyraz;
- int klucz,liczba;
- char wynik;
- while(!fin.eof())
- {
- fin>>wyraz>>liczba;
- cout<<wyraz;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement