#include <fstream>
#include <iostream>
#include <string.h>
Go to the source code of this file.
◆ main()
Definition at line 275 of file utf16le.cpp.
276{
278
280 {
281 cout <<
"usage: " <<
argv[0] <<
" inputfile outputfile" <<
endl;
282 return -1;
283 }
284
286
288 {
290 }
291
293
295 {
297 {
299 cerr <<
"Couldn't open input file." <<
endl;
300 break;
302 cerr <<
"Couldn't open output file." <<
endl;
303 break;
304 default:
306 }
307 return -1;
308 }
309 else
310 {
311 conv.convert2utf16le();
312 }
313
314 return 0;
315}
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)