_putch -- Write Character to Screen

Format

#include <conio.h>
int _putch(int c);

Language Level: Extension
_putch writes the character c directly to the screen.

Return Value
If successful, _putch returns c. If an error occurs, _putch returns EOF.

Example
This example defines a function gchar that is similar to _getche using the _putch and _getch functions:

#include <conio.h>
int gchar(void)
{
   int ch;
   ch = _getch();
   _putch(ch);
   return (ch);
}



_cputs -- Write String to String
_cprintf -- Print Characters to Screen
fputc -- Write Character
_getch - _getche -- Read Character from Keyboard
putc - putchar -- Write a Character
puts -- Write a String
write -- Writes from Buffer to File
<conio.h>