Pelles C forum

C language => Pocket PC and Smartphone questions => Topic started by: gromit on November 21, 2011, 11:23:27 pm

Title: Convert wint_t to wide character
Post by: gromit on November 21, 2011, 11:23:27 pm
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
Title: Re: Convert wint_t to wide character
Post by: arez9438 on February 04, 2014, 08:59:14 am
Obviously a lot to be said for a better understanding of formatting text.
Title: Re: Convert wint_t to wide character
Post by: Persay on March 02, 2014, 06:01:11 pm
yep that said