Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Hello, I just started learning c++ and I'm dabbling with file input/output. But now I have encountered an issue with this code: [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main() { ifstream inFile("values.txt", ios_base::binary); string Value1; int Value2; int Value3; int Value4; if(inFile) { inFile.read((char*)&Value1, sizeof(string)); inFile.read((char*)&Value2, … |