Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #107.41K
~104 People Reached
About Me

20 plus year IT professional (as contractor and employee)

Favorite Forums
Favorite Tags
c x 1
Member Avatar for revenge2

Hello there, I am having trouble copying text into a string, what am i doing wrong? [CODE=c] #include <stdio.h> int main() { char instructions[80]; FILE *f; f=fopen("a3.txt","r"); while (fscanf(f,"%s",instructions != EOF){ fscanf(f,"%s",instructions); } printf("%s",instructions); } [/CODE] the contents of a3.txt are B404 239A 2412 5345 350C C000.

Member Avatar for fjallstorm
0
104