Convert wint_t to wide character

Started by gromit, November 21, 2011, 11:23:27 PM

Previous topic - Next topic

gromit

Hi All
working in middle of a text file trying to read in wide characters at known wide len as set
by wcslen(
while (( wc = fgetwc( fp )) != WEOF )
      {
       x++;
      // ... process each wide character read ...
       // THIS LINE WONT WORK COS TRYING TO ASSIGN AN wint_t TO A WIDE                   
                       wcscat(notestr,wc);
          if ( x==charcount)
                      break;


      }

any help would be great thanks

arez9438

Obviously a lot to be said for a better understanding of formatting text.