Come sarebbe a dire "o almeno mi pare..."Originariamente inviato da firelightning
scusate ma per me è arabo.... Che cos'è la getch()? Riesco appena ad immaginarlo vagamente... L'unica cosa che so è che riportando il tuo codice funge o almeno mi pare...![]()
![]()
Ma il dev++ non ha un help ?
Quello del Bcc32 riporta quanto segue:
Sebbene sia una funzione 'obsoleta' ed è applicabile solo ingetch()
Header File
conio.h
Category
Input/output Routines
Syntax
#include <conio.h>
int getch(void);
Description
Gets character from keyboard, does not echo to screen.
getch reads a single character directly from the keyboard, without echoing to the screen.
Note: Do not use this function for Win32 GUI applications.
Return Value
getch returns the character read from the keyboard.
ambienti MS-DOS & Win32, io la reputo insostituibile per le
applicazioni 'console'![]()