Родитель
29fe662f9b
Сommit
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;
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче