Zitat Zitat von BlackBerry Beitrag anzeigen
Sprich: system("PAUSE") compiliert auf beiden Systemen, getchar() nicht
Das waere aber schade, denn ISO/IEC 9899:1990 schreibt eigentlich vor, dass jeder Compiler diese Funktion anbieten muss: 7.19.7.6 The getchar function
Code:
Synopsis
       #include <stdio.h>
       int getchar(void);

Description
The getchar function is equivalent to getc with the argument stdin.

Returns
The getchar function returns the next character from the input stream pointed to by
stdin. If the stream is at end-of-file, the end-of-file indicator for the stream is set and
getchar returns EOF. If a read error occurs, the error indicator for the stream is set and
getchar returns EOF.
GreetZ RiDER