Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. using namespace std;
  4. main()
  5. {
  6. char a='A';
  7. char alf[26];
  8. for(int i=0;i<26;i++)
  9. {
  10. alf[i]=a;
  11. a++;
  12. }
  13. ifstream fin("dane_6_2.txt");
  14. string wyraz;
  15. int klucz,liczba;
  16. char wynik;
  17. while(!fin.eof())
  18. {
  19. fin>>wyraz>>liczba;
  20. cout<<wyraz;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement