Ok, I figured it out. It was down the line I forgot the 'f' in one of my scanf statements. I looked at it 20 times and never caught it until now. Thanks for replying and sorry for wasting your time.
Type: Posts; User: jduke44
Ok, I figured it out. It was down the line I forgot the 'f' in one of my scanf statements. I looked at it 20 times and never caught it until now. Thanks for replying and sorry for wasting your time.
How do I read in from the keyboard when using unions.?
my code:
printf("Type a character: \n");
scanf("%c", number.c);
I am getting this error:
/tmp/cc6fjFyR.o(.text+0x5f): In function...
I had 4 other programs to write so I left this for a couple days and noticed the other replies. Thanks guys for your help. I have been racking my brain trying to figure this out. I had part of it...
Well, at least the message went away. I stil have some figuring to do withe actual functions. The book showed 3 functions and used the choice like I had it, that's why i did it that way. Thanks guys...
I have to create menu driven system using function pointers
I have this:
void minimum(int grades[][ EXAMS ], int pupils, int tests );
void maximum(int grades[][ EXAMS ], int pupils, int...
Thanks for your input. I know I read somewhere about using the [5][20]. I will read that link. Thanks again.
I just clicked on it. I thought I looked at the FAQ for this. Well, maybe it was for...
Thanks for the quick response. I appreciate you getting me started. This gives me an idea as to what I am trying to do. As far as the [5][20], I thought I saw that in an example in the book or on the...
I need to do HW assignment that creates a sentence. I need to use random generation. I understand it using numbers but I am clueless when it comes to something like this. Here's my portion of code I...
I found this site under desperate moments and just realized that is what the "announcements" had said. I will make sure I abide by that the next time. Wow, this seemed really easy. Why couldn't I...
I know this was a long time ago this was posted but I was hoping someone could help. I know how to use strtok but after everything is tokenized how would I print everything in reverse order. If...