If you are trying to print the answer a simple
cout << "Answer = " << answer << endl;
should work.
Dont really see why you would need the get function for this one. You're not reading in data...
Type: Posts; User: bd02eagle
If you are trying to print the answer a simple
cout << "Answer = " << answer << endl;
should work.
Dont really see why you would need the get function for this one. You're not reading in data...
I'm reading in a data file which is in little endian format and Im trying to use subroutines to convert int, float, character, etc. into big endian format. I've succeeded in converting the integers...