.


:




:

































 

 

 

 


2

.

1. , .

2. , ++. , , .

3. .

4. .

5. ³ .

1. Catalog, , Book. :

add_book() ;

del_book() ;

find_by_autor() ;

show_cataloque() - .

 

2. Book, Authors ( : ..., , ), . :

add_author() ;

del_author() ;

count_authors() .

friend - / / .

3. University, , : , , , . :

add_group() ;

del_group() ;

calc_stud() .

 

4. Train, Carriage () . :

add_carriage() ;

del_carriage() ;

calc_places() .

 

5. Route , stop (). :

add_stop() ;

len_route() ;

time_route() .

 

6. unsigned int. - : ; ; ᒺ (); ; .

 

7. - . 65535 . : ASCIIZ (, ); ; ; ; ; ; .

8. - . 65535 . , . , , ᒺ, . , , .

 

9. . 65534, int. : ; ; ; ᒺ ; ; ; ; ; .

 

10. List " ". , string. :

utinbeg() ;

getoutbeg() ;

putinend() ;

getoutend() ;

print() ;

isempty() true ( bool), .

 

11. Astack , . , , string. :

ush() ;

pop() ;

print() ;

num() , ;

isempty() true ( bool), .

 

12. Aqueue , . , , string. :

dd() ;

pop() ;

print() ;

num() , ;

isempty() true ( bool), .

 

13. Lstack , . , string. - :

ush() ;

pop() ;

print() ;

num() , ;

isempty() true ( bool), . : : .

 

14. Lqueue "", . int.. :

dd() ;

pop() ;

print() ;

num() , ;

isempty() true ( bool), .

: : .

 

15. Set "". . , . ( include), , . , ᒺ, , , . , . - :

nclude() ;

exclude() ;

union() ᒺ ;

inters() ;

substr() ;

print() ;

num() ().

 

16. Bitv . , 0 ( ) 1 (). . . , 1, 2 4 . Bitv :

Bitv() ;

Bitv(char*) , ;

Bitv(Bitv&) ;

~Bitv() ;

void setin0(int) 0;

void setin1(int) 1;

void flip(int) ;

void print() ;

size() .

1. ?

2. ᒺ , ?

3. ᒺ .

4. ᒺ ?

5. ?

6. ?

7. *this?

8. ᒺ.

9. ᒺ .

10. ?

11. ᒺ ?




<== | ==>
| 3
:


: 2018-10-18; !; : 263 |


:

:

.
==> ...

1566 - | 1541 -


© 2015-2024 lektsii.org - -

: 0.017 .