static wchar_t * main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}void _main(){wchar_t * data;data=(wchar_t *)malloc(100*sizeof(wchar_t));data[0]=L'\0';data=main_source(data);for (;*data!=L'\0';data++){if (*data==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}
static wchar_t * main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}static void main(){wchar_t * data;data=(wchar_t *)malloc(100*sizeof(wchar_t));data[0]=L'\0';data=main_source(data);{size_t i;for (i=0;i < wcslen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}