Whenever I call One scanf it works, then the second one, bypasses the whole scanf, and gives me the default value for it
how do we get around 2 scanf's?????
help me someone smart!!!!
...
Type: Posts; User: DrJones
Whenever I call One scanf it works, then the second one, bypasses the whole scanf, and gives me the default value for it
how do we get around 2 scanf's?????
help me someone smart!!!!
...
#include <stdio.h>
int main()
{
int course_code, student_grade;
printf("Please enter a valid number 1 -3\n");
scanf("%d", &course_code);
FIXED! Close thread
Hi, ive just designed this program with the print_header,. then i try and put an int in the code and it doesnt compile, ive tried various variations, can someone show me where i can put the
int...
Hi, can someone tell me, in extended terms what this function parameters are
what does char* buf, const .... etc mean
int sprintf ( char *buf, const char *format, ... );
int snprintf( char...
Hi, im new to programming, and im trying to find the location of files, such as stdio.h and conio.h. Anyone know of good websites where i can get this from? What are some good sites for newbies to C...
Hi, what does this line mean, also, does anyone know where a command list for c programming is..
id rather see a list, than read over code and learn it sucks.
return (unsigned int)(rand_seed /...
Hi, im trying to understand, HOW the HELL does a become i, in this line of code, someone please exlain what a[i] comes from..
i cannot make sense of this, and its stopping my work.
/* fill...
Hi,
im wanting to find out about windows programming, how is it different from C or the like, I want a program that is able to revert the exe back, is that possible, otherwise, whats some good...
Hi, im just having troubel understanding something in this code.
where does a[i] = i; come from, its saying that line of code.
can someone explain to a real NEWBIE!
a = i? or a[i] = i,...
thanks, ive copyed your text it works, im trying to update mine, still compiling error, ill try and fix it properly..
thanks!!!!
Im trying to get this program to work, it stops at
else
WHat have i done wrong here, i want to be able to specifiy whether fahrenheit or celsius can be used.
Regards
#include <stdio.h>