I wanted to use fstream to read a txt file.
fstream
I am using inFile >> characterToConvert, but the problem is that this omits any spaces an
inFile >> characterToConvert
Simple
#include #include ifstream ifs ("file"); ifs >> noskipws
that's all.