Posts
 
Reputation
Joined
Last Seen
Ranked #3K
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 #37.0K
~814 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for nateuni

[QUOTE=nateuni;994616]I am getting this error message, but I am not sure what I am doing wrong? Here is a edited snip-it of my code - [code=c] void WriteProgram(clientProgram *ptrToProgram, int *ptrTotalWkOuts, int *ptrNumOfEx) { int wkOut = 0; clientWorkout *ptrToWorkout; int *autoPopulate = (int *) calloc(1, sizeof(int)); clientWorkout *ptrToFirstWorkOut = …

Member Avatar for Tom Gunn
0
684
Member Avatar for geoffy0404

Main problem is formatting. Something like this oughta work. [code] int i,totalPoints=0; int assignment[6]; for(i=0;i<6;i++) { printf("\nAssignment%d: ",i+1); scanf ("%d",&assignment[i]); } for(i=0;i<6;i++) totalPoints+=assignment[i]; printf("\ntotalPoints = %d\n",totalPoints); [/code]

Member Avatar for chesspest
0
130

The End.