is there any equivalent fn. of getch() or getche() in c??

i want to input char and an integer separated by only a space witout enter like scanf("%c %d",&ch,&i);
but the program is not taking character input…please suggest me something…

Is this duplicity to http://discuss.codechef.com/questions/2012/best-way-input-a-char ?