Этот коммит содержится в:
2025-02-05 00:56:08 +03:00
родитель 29fe662f9b
Коммит 29e4a0c8f7

Просмотреть файл

@@ -1,10 +1,15 @@
#include <cstdio> // Äëÿ fgets()
#include <cstring> // Äëÿ strspn(), strcspn()
#include <iostream> // Äëÿ cout
#include <cstdio>
#include <cstring>
#include <iostream>
const size_t MAX_SIZE = 256;
const char* SEPARATORS = " \r\n,.!?:;()-";
int main() {
char text[MAX_SIZE] = {0};
std::cout << "Enter the line: ";
fgets(text, MAX_SIZE, stdin);
return 0;
}