getchar() function?
2 posts • Page 1 of 1
getchar() function?salam. plz tell me what getchar() can do for me? I read help of C-language but I'm not satisfied with that information. samajh to aya hai laikin agar kisi ko ziada info hai is function k bare to plz share kare. One more I want to ask what is line buffered? mai jab is function ki help parh raha tha to us me ye line parhi k getchar() line buffered? waise buffers kya hote hain? plz tell me about that.One more thing I want to ask what is stdin,stdout,stderror. If anybody know plz explain this. I'm waiting for reply.thanks in advance
Re: getchar() function?The function "getchar()" is somewhat like "getch()" function which reads a single character from the user .. this is normally used in some kind of loop .. so when any key from keyboard is presses, its code is returned by this function, which then you can use as per your needs.
The "Stdin" means the standard input device which is normally "Keyboard" .. "Stdout" means Standard Output Device which is "Monitor"
2 posts • Page 1 of 1
Return to Miscellaneous / Challenging Problems Who is onlineUsers browsing this forum: No registered users and 0 guests |
|