Hello folks, i am having trouble with this one...if i am to input a character value into an integer inside a while loop...it keeps on looping..here is a sample of my code:-
do
{
mm...seems fesible but there is one thing though..i dont use the C++ compiler program what i use is Notepad++ on writing the source code etc and using Borland C Compiler to do the execution job in Windows cmd...i don't know if the one you mentioned above is similar to what i am trying to fix but i would think that it would apply to the C++ that starts with:-
<code>
#include<stdio.h>
#include <ctype.h>
</code>
Oh, so you can't use c++. In that case I don't think you can use the nice IO abstractions like cin. You might need to replace my code above with the C equivalent. A quick search turned up the following page: