nevite nekdo jak mam nastavit aby byl text v cistem c (muze byt i ++) v konzoli barveny![]()
nevite nekdo jak mam nastavit aby byl text v cistem c (muze byt i ++) v konzoli barveny![]()
AMD Athlon Xp 1600+ (Palomino) @ 1900+ stable, 256Mb RAM, GeForce MX 440, Maxtor 80Gb, Seagate 1.2 Gb, DVD ROM neznackova, CD-ROM Teac 40x, Tv Tunner, \"19" Dell\, 10Mb LAN Realteck, 512Kbps inet...
Notebook: ACER Pentium 150, 48Mb RAM, 1.5Gb disk...
AMD Barton 2500+@2152MHz(12.5*172/1,65V) AQXFA 0335MPMW @ ASUS A7V8X full @ Cooper Silent 2 TC Rev.2 lapped@ 512MB DDR333 @ GeForce 4 Ti4200 128MB 310/610MHz @ Samsung SpinPoint 160GB S-ATA + WD 80GB JB 8MB @ DVD LG GSA-4163B @ DVD Pioneer 106s @ SB Audigy Player @ Fortron 350W+12cm fan @ Edimax EW-7128G
Mobile : DELL Inspiron 1520
A jak vymazat celou obrazovka aby kurzor byl na zacatku?
da se pouzit treba..
Kód:system( "cls" );
ntb: HP EliteBook 8460p i7-2640M | 8GB RAM | 120GB SSD + 500GB HDD | ATi HD6470 | 14" HD+ | W7 PRO
home: HP Docking Station | HP L2045W | WD 500GB Scorpio Blue USB box
work: HP Docking Station | HP L2445W
audio: Epiphone G-400 SG + Sounder Telecaster | E-MU 0202 | Cambridge Audio Azur 340R | Wharfedale Diamond 9.2 | Magnat Betasub 20A | Sennheiser HD555
To není přenositelné:Původně odeslal Anduril
C to určitě musí umět samo o sobě.Kód:$ cls -bash: cls: command not found
A bus station is where a bus stops.
A train station is where a train stops.
On my desk... I have a work station.
AFAIR tohle proste v ANSI C neni.Původně odeslal David Jaša
Obsluha konzoly prenositelna nie je. V *nixe je na to kniznica (n)curses.
1: Asus P2B 1.10 • Celeron 1100@1364/1.8V • 512MB SDRAM • Samsung SP1213N+WD AC28400 • Toshiba XM-6402B+SD-M1212 • PowerColor AR2L Radeon 9100 64MB • 3C900-Combo • Bt848A • ASB-3940UA • AWE-64 • DTK PTP-3007 • VisionMaster 405 • Umax UC630 • Star LC24-200 Colour 2: PCPartner TXB820DS • Cyrix MII PR300/1.8V • 256MB SDRAM • 2xSamsung HD400LD+IT8212F • Accesstek CW4001 • LS-120 • Mystique 4MB • Millennium II 4MB • 3C509 • CMI8329A+Dream MIDI • ADI ProVista E44 • SyncMaster 203B Notebook: DTK FortisPro TOP-5A • P166MMX/1.8V • 80MB EDO • Hitachi 5K80 40GB • 12,1" TFT Router: A-Trend ATC-1425B • i486DX 50@33/5V • 48MB FPM • WD AC14300 • UMC UM9003F • HP PC LAN 16/TP+ Car: Mazda 323P BA • Z5 1489ccm, 65kW@5500rpm, 134Nm@4000rpm
Nevím, co je přesně v ANSI C (sám neprogramujuPůvodně odeslal jedik
), ale GNU clear vypadá takto:
Kód:/* * clear.c -- clears the terminal's screen */ #include <progs.priv.h> MODULE_ID("$Id: clear.c,v 1.9 2005/09/25 00:46:43 tom Exp $") static int putch(int c) { return putchar(c); } int main( int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { setupterm((char *) 0, STDOUT_FILENO, (int *) 0); return (tputs(clear_screen, lines > 0 ? lines : 1, putch) == ERR) ? EXIT_FAILURE : EXIT_SUCCESS; }
A bus station is where a bus stops.
A train station is where a train stops.
On my desk... I have a work station.
Jenze tohle ti pod win fungovat nebude.. proste takhle to udelas v linuxu, ale pod win bys potreboval neco takoveho:
http://support.microsoft.com/kb/q99261/
ntb: HP EliteBook 8460p i7-2640M | 8GB RAM | 120GB SSD + 500GB HDD | ATi HD6470 | 14" HD+ | W7 PRO
home: HP Docking Station | HP L2045W | WD 500GB Scorpio Blue USB box
work: HP Docking Station | HP L2445W
audio: Epiphone G-400 SG + Sounder Telecaster | E-MU 0202 | Cambridge Audio Azur 340R | Wharfedale Diamond 9.2 | Magnat Betasub 20A | Sennheiser HD555
jj, je to jak říkáš. Však už to vyjasnil Rainbow.Původně odeslal Anduril
A bus station is where a bus stops.
A train station is where a train stops.
On my desk... I have a work station.
Nejak to zkusim, uvidim. Diky
Toto téma si právě prohlíží 1 uživatelů. (0 registrovaných a 1 anonymních)