I am a beginner in C++ and I was wondering that what is the difference between getch(), getche() and getchar() functions. I read somewhere that getch() gets a character from stdin. What does this mean? What is stdin? Waiting for your reply, ...
function :specific module or operation getchar: ch=getchar(); fgetc()/getc() putchar : putchar(ch); fputc()/putc() gets: gets(*str);{\n terminate, not include \n} fgets(char *str,int n ,FILE *stream){\n terminate, include \n}only read in n-1 char the last is filled with...
for am not a C/C++ programmer, but a Java Programmer. That was the basic reason for my preference over javahidapi - in-fact was able to manage in Windows and Linux using it, but not with Mac. Will debug using gdb - will be doing today evening - and will get back to you. ...