Kundan Nehete <kundank.RemoveThis@cybage.com> wrote:
> Hi All,
> I want to read the file line by line.Is there any API like
> getline..and also the function like strtok to be used for reading and
> parsing each line containing Unicode data????
For C99 there is fgetws() similiar to fgets() but reads into a wchar_t
*. Not sure of a wide C string functions. Quick look through wchar_t.h
and the C99 standard did not seem to find any..
For C++ std::getline(std::basic_istream<C,T> &,std::string<C,T,A> &, C
+); and wide streams.