Something
public c v1 · immutable// qdasdas.cpp : Defines the entry point for the console application.//#include <string.h>#include <stdio.h>int main() { char* x = "asdasd asd aqsd awqsd sdgjksdgk asd qq"; char* pduma; char buffduma[128]; int i; while(*x++) { if (*x == ' ') { pduma = ++x; // ukazatel kym dumata strcpy(buffduma,pduma); for(i=0;buffduma[i] != 0;i++) if (buffduma[i] == ' ') buffduma[i] = 0; if(strstr(x,"asd") > 0) printf("eto: %s\n",buffduma); } } getchar();}