Not quite following your.
Type: Posts; User: mattflick
Not quite following your.
It's working. I changed it in the main.c and p_r_s.h and it's fine. My mistake. Need more attention to detail. Thanks for the help guys.
I changed the p_r_s.h to the below:
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
enum p_r_s {paper, rock, scissors,
I changed it too exactly what was shown above.
I want it to be a letter grade for the average of each individual student. I haven't quite got the code working yet.
Hey Dave,
It builds with no with no failures, but when I execute it without debugging, if I press r s p for rock, paper or scissor it wants to debug and breaks at the following line:
...
LOL I got the numbers mixed up, but you've helped me anyway.
I meant to have A=4 and so on. Minor. Thanks for the help.
How do would I incorporate a function that prints averages for each student in a class. I want to use A=1, B=2, C=3, D=4, and F=5. What would be the best way to go about doing this?
Thanks
...
It was good to see it done differently just for my experience and thanks for the help. :D
I'm trying to get this code to read errors that are not positive integers. Right now if you type 50394e,for example, it won't catch the "e" as an error. I think the sscanf line has to change the...
Wow I really suck a this stuff. I would have never thought that. I was thinking if was going have to be an "if" statement followed by multiple "printf" lines utilizing the player_choice and...
Can someone at least point me in the right direction? I'm not where to apply the code too. I'm just asking for a nudge.
Thanks so much for your help. I'm learning I just need more experience looking all the different types code for all there different applications. Thanks again for the help.
Hi,
Trying to make the letters ABCDE shift by one by calling in five times i.e. BCDEA, CDEAB, DEABC, EABCD, and ABCDE.
Here's what I got and I know it's probably easy and I'm hosed up, but I'm...
Hi,
New to these forums.
I have a rock paper scissor program I need to change and for some reason can't quite see where I need to do the change. I'm sure it's easy but I can't see it.
I want...