Posts
 
Reputation
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.

~842 People Reached
Favorite Forums
Favorite Tags
Member Avatar for nuller

and my code to write into a file is ofstream file; file.open("CustomerFile.txt",ios::app); file.write((char *) & customer,sizeof Customer); file.close(); file.open("AccountFile.txt",ios::app); file.write((char *)& account,sizeof Account); file.close(); can someone figure out my mistakes. Thanks in advance

Member Avatar for NathanOliver
0
84
Member Avatar for nuller

fstream file; file.open("PasswordGenFile.dat",ios::out); In writing into a .dat file what does the following line mean? file.write((char *) this, sizeof(PasswordGenerator)); And how can i convert this bit of code if i want to write it into a .txt file?

Member Avatar for Duoas
0
486
Member Avatar for nuller

i need to make a c++ console based program for a banking system using files. i implemented some code but having difficulty with withdrawing money from the account, checking balance, transferring funds and viewing transaction. For withdrawing funds i implemented the following code but it doesn't seem to work properly. …

Member Avatar for tinstaafl
0
272