how to read character by character from text file in c++?
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
hi there I would appreciate if someone could tell me how can I read character by character from a file? I did some research about it but there weren't work in mine for example: it couldn't verified infile although i use fstream library or is.get none of them working
char singlecharacter;
int singleCharacter ;
ifstream file ("vurudi");
file.is_open() ;
infile.get(singlecharacter);