M
Michele 'xjp'
Hi there,
I am using a POSIX-compliant system, Cygwin on Windows.
I need the features of conio.h's getch() and clrscr(), but I can't
compile programs with #include <conio.h> (since conio.h is NOT POSIX).
I tried to implement myself clrscr() with system("cls"), but the program
compiles ok, but during the running it will show:
sh: cls: command not found
(on filecompiled.exe runned on Windows).
Is there away to implement clrscr() and getch() ?
Thank you
PS: a C++ program POSIX-compliant with advantages have? "Only" portability?
Any drawbacks?
I am using a POSIX-compliant system, Cygwin on Windows.
I need the features of conio.h's getch() and clrscr(), but I can't
compile programs with #include <conio.h> (since conio.h is NOT POSIX).
I tried to implement myself clrscr() with system("cls"), but the program
compiles ok, but during the running it will show:
sh: cls: command not found
(on filecompiled.exe runned on Windows).
Is there away to implement clrscr() and getch() ?
Thank you
PS: a C++ program POSIX-compliant with advantages have? "Only" portability?
Any drawbacks?