C / stdio.h / getcha
clearerr, fclose, feof, ferror, fflush, fgetc, fgetpos, fgets, fopen, fprintf, fputc, fputs, fread, freopen, fscanf, fseek, fsetpos, ftell, fwrite, getc, » getcha, gets, perror, printf, putc, putchar, puts, remove, rename, rewind, scanf, setbuf, setvbuf, sprintf, sscanf, tmpfile, tmpnam, ungetc, vfprintf, vprintf, vsprintf,
Funcion: getcha()
Sintaxis:
int getchar(void);

Descripcion: Esta función es equivalente a getc con el argumento stdin.


Ejemplo:
#include <stdio.h>
 
int main()
{
   char nombre[20]="";
   int i;
 
   printf( "Elige el numero en el menu:\n\n" );
   printf( "1 - Cargar fichero\n" );
   printf( "2 - Guardar en un fichero\n" );
   printf( "3 - Otras operaciones\n" );
   printf( "4 - Mostrar datos\n" );
   printf( "0 - Salir\n\n" );
   printf( "Opcion: " );
   printf( "\nHas elegido: %c", getchar() );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h