Visual Studio data types
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I have to read from an ascii file some Greek characters ( Greek DOS - 737). Does anyone know which data type do I have to use in order to read the file properly and store it to an array? Thanks in advance sirtimid
char or int should be fine. Reading has nothing to do with the codepage, you'll just get an integer value. If you want to display properly what you've read, you must use system's codepage or Unicode. See this article CTextfiledocument for an easy way to convert in another codepage.