No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
[QUOTE=BobS0327;1737965]Probably because your input text file doesn't have a space delimiter between each field as indicated by the statement below from your first source code file which creates this input text file: [CODE]fprintf(cfPtr,"%d%s%.2f\n",account,name,balance);[/CODE] Try using this statement in your first source code file: [CODE]fprintf(cfPtr,"%d %s %.2f\n",account,name,balance);[/CODE][/QUOTE] i have a problem …
When i try to input this data: 11 jack 90 22 mike 99 the result will be on the attachment. [CODE]/*Create a sequential file*/ /*"w" is a made for creating a file for writing*/ /*if the file already exists, it will discard the current contents*/ /*%s stands for string is …
The End.
nairulhadri