![]() |
![]() | #3 |
Профессор Join Date: 07 2004 Location: Own world Age: 39
Posts: 3,656
Downloads: 22 Uploads: 0
Reputation: 228 | 4 | ![]() Code: #include <string> #include <fstream> #include <iostream> int main(int argc, char* argv[]) { std::string s; std::ifstream ifs(__FILE__); while(!ifs.fail()) { std::getline(ifs, s); std::cout << s << std::endl; } return 0; } |
![]() |
Sponsored Links |