Farbe
-
Sorry! Die Frage:"Wie bring ich farbe in die cosole con Turbo C?"wurde schon mal gestellt, aber ich habe leider die Antworten darauf verpasst!!!
-
enum COLORS { BLACK, /* dark colors */ BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LIGHTGRAY, DARKGRAY, /* light colors */ LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA, YELLOW, WHITE }; #endif #define BLINK 128 /* blink bit */ extern int _Cdecl directvideo; #ifdef __cplusplus extern "C" { #endif void _Cdecl clreol (void); void _Cdecl clrscr (void); void _Cdecl delline (void); int _Cdecl gettext (int __left, int __top, int __right, int __bottom, void *__destin); void _Cdecl gettextinfo (struct text_info *__r); void _Cdecl gotoxy (int __x, int __y); void _Cdecl highvideo (void); void _Cdecl insline (void); void _Cdecl lowvideo (void); int _Cdecl movetext (int __left, int __top, int __right, int __bottom, int __destleft, int __desttop); void _Cdecl normvideo (void); int _Cdecl puttext (int __left, int __top, int __right, int __bottom, void *__source); void _Cdecl textattr (int __newattr); void _Cdecl textbackground (int __newcolor); void _Cdecl textcolor (int __newcolor); void _Cdecl textmode (int __newmode); int _Cdecl wherex (void); int _Cdecl wherey (void); void _Cdecl window (int __left, int __top, int __right, int __bottom); void _Cdecl _setcursortype (int __cur_t); char *_Cdecl cgets (char *__str); int _Cdecl cprintf (const char *__format, ...); int _Cdecl cputs (const char *__str); int _Cdecl cscanf (const char *__format, ...); int _Cdecl getch (void); int _Cdecl getche (void); char *_Cdecl getpass (const char *__prompt); int _Cdecl kbhit (void); int _Cdecl putch (int __c); int _Cdecl ungetch (int __ch); #ifdef __cplusplus
turbo c hat ne ausgefeilte conio.h
-
Dieser Thread wurde von Moderator/in c.rackwitz aus dem Forum ANSI C in das Forum DOS und Win32-Konsole verschoben.
Im Zweifelsfall bitte auch folgende Hinweise beachten:
C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?Dieses Posting wurde automatisch erzeugt.