squirrelly1
Dec 9th, 2002, 02:34 PM
When I use this code:
printf("Do you want to enter another student? [y/n]");
scanf("%c",&v);
if(v=='y'){
goto EnterStudent;
}
It doesn't allow me to input data from the keyboard but instead it move right to the prompt... All of the files I have opened are closed, so I don't know where it is pulling the data from....
Is there any way to ensure that the data is inputted from the keyboard?
thnx,
squirrelly1
printf("Do you want to enter another student? [y/n]");
scanf("%c",&v);
if(v=='y'){
goto EnterStudent;
}
It doesn't allow me to input data from the keyboard but instead it move right to the prompt... All of the files I have opened are closed, so I don't know where it is pulling the data from....
Is there any way to ensure that the data is inputted from the keyboard?
thnx,
squirrelly1