The idea of programming might sound like a frightening task, but don’t worry. We designed this blog so that you can get your feet wet without stepping into the deeper complexities of the programming.
This Blog is dedicated to all those people who want to learn the most basic but important Programming Language'C Programming'.
If done step wise C language is easy and fun to learn.
So lets get started.
Start reading from the First Post to understand C programming.You may read a desired topic from the labels.
Press Ctrl+D to add this page to your Favourites/Bookmarks for further reference.
Note:Your comments,queries and suggestions are welcome.Feel free to post them in the the comment boxes available after every post.

Search C Programs,Compilers,etc.

Thursday, May 15, 2008

Inpu-Output functions(Unformatted)

The C environment assumes that the standard input device(keyboard) and the standard output device(Monitor) are always connected to the C environment.
Here's a list of some unformatted functions used in C along with their uses.






Input / Output
Functions



Unformatted functions











































getch() Waits for
user to press any key, returns the key pressed that can be assigned to
variable
getche() like getch()
but echoes character pressed to screen
getchar()Accepts
one character from user, terminates only when user presses enter. Even
if user typed more than one character return first one character only.
putchar() can pass
character type parameter, a single character that you want to appear on
screen.
gets() By passing
character array as parameter can. accept string input including spaces.
puts() By passing
character array as parameter can display the content of string


0 comments: