ДС
Дарина Стерва
Подскажите, пожалуйста, как работает эта программа.
#include
#include
using namespace std;
void Fun(char* str1, char* str2)
{
char Simvol;
int i=100;
while (str2!='\0'){
i--;
}
i--;
while (str2!=' ')
{
i--;
}
i++;
Simvol=str2;
char* str3;
str3=strtok(str1," ");
while (str3!=NULL)
{
if (str3[0]==Simvol)
{
cout