Код: Выделить всё
#include
#include
#include
#include
#include
#include
using namespace std;
char* getstring();
void xyz(char*);
void tokenizing(char*);
int main()
{
char* pa = getstring();
xyz(pa);
tokenizing(pa);
_getch();
}
char* getstring()
{
static char pa[100];
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/65580357/how-do-i-remove-repeated-words-from-a-string-and-only-show-it-once-with-their-wo[/url]
Мобильная версия