It feel bad but I got stuck with a noobish type syntax, need explanation.
Its actually the part of a another large code. here 'name' and 'length' will get values at the time of calling. So don't worry about their values.Code:LPARAM name; //have a pre defined value LPARAM length; //have a pre defined value fgetws((wchar_t *)name,length,stdin); //need explanation wchar_t *ptr=wcspbrk((wchar_t *)name,L"\r\n"); //explanation
Do explain how this small code works here.
And how to send another value to 'name' as it is given by fgetws().???
Thanks in advance.