Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- #include <iostream>
- using namespace std;
- int main() {
- const int numArr = 100;
- char text[numArr];
- ifstream file("text.txt");
- file.getline(text, numArr);
- file.close();
- for (int i = 0; i < numArr; i++)
- cout << text[i];
- system("pause");
- return 0;
- }
- Один, два, три
- Один, два, три ММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММММДля продолжения нажмите любую клавишу...
Add Comment
Please, Sign In to add comment