Цитата:
Сообщение от FullControl
Если не составит труда, можно небольшой примерчик?
|
Код:
// test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "ctype.h"
#include "string.h"
int _tmain(int argc, _TCHAR* argv[])
{
char* input = "gf4444444djyu"; //ваш инпут
for(int i = 0; i < strlen(input); i++) {
if(!isdigit(input[i])) continue;
//you code
}
return 0;
}