Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <cstring>
- using namespace std;
- int main()
- {
- const int N=349;
- string s,nazwa;
- ifstream input("PB_Backup.vcf");
- ifstream numery("numery.txt");
- for (int i=0;i<N;i++)
- {
- getline(numery,nazwa);
- ofstream output (nazwa.c_str());
- do
- {
- getline (input,s);
- output << s << "\n";
- } while (s != "END:VCARD");
- }
- input.close();
- numery.close();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement