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 #54.9K
i tried to read integer values from a file but it didnt work. fscanf could only read strings.. why? or am i not doing sumfin ryt?? here's my code: int a=0; FILE *p; p = fopen("Customer_Records.txt", "r"); while(x==a); { fscanf(p, " %[^\n]", profile[a].name); printf("\n %s", profile[a].name); fscanf(p, " %[^\n]", profile[a].phone); … |
|
How would u determine the end of a word using pointers? |