.


:




:

































 

 

 

 





 

, , .

:

printf() ;

scanf()

gotoxy()

textcolor() , cprintf().

textbackground() , cprintf().

cprintf() , textcolor() textbackground();

clrscr() .

 

stdio.h Borland C++ Builder conio.h.

 

 

printf()

 

.

 

:

printf(__, );

 

, , .

__ , .

, . :

%% %;

% _ , .

:

ASCII ;

d ;

f ;

e ;

o ;

u ;

x ;

s . printf() , .

:

*.* , * . , . ( );

- ( );

+ +.

\ , :

\n ;

\t ;

\\\;

\r ;

\b ;

\0 .

 

scanf()

 

.

 

:

scanf(__, );

 

, , .

__ , .

printf().

 

gotoxy()

.

 

:

gotoxy(int x, int y);

 

int y ;

int x ;

. , , , .

 

textcolor() textbackground()

, cprintf().

 

:

textcolor(int color);

textbackground(int color);

 

int color , 0 15 ( ). , cprintf(), .

 

cprintf()

 

, textcolor() textbackground().

cprintf() printf().

 

clrscr()

. .

 





:


: 2016-09-03; !; : 298 |


:

:

, .
==> ...

1020 - | 838 -


© 2015-2024 lektsii.org - -

: 0.009 .