231000.62.9012.__
..
. 11()-1 ..
2012
: :
) , : ; ; ; .
) , . : ; ; ; ; .
, , , -.
: 1) ;
2) ;
__________________2012.
..
09-1 ..
_________________2012.
........................................................................................................... | ||
... | ||
........................................................................................................... | ||
.. | ||
.. | ||
6.1 | .. | |
6.2 | .. | |
6.3 | . | |
6.4 | | |
... | ||
......................................................... | ||
.................................................................................................................... | ||
.................................................................................................................... |
++, . ++ , . - , - .
|
|
90- I . , , , .
. ( SKLADUNIT.H, ), ++. .
, . (SKLAD.CPP), (PRODUCT.H, POTREB.H, GRAPH.H). ++. main(). . main().
main(). , 2 :
1.
2. .
- up() down() .
. Del del(), 1 add_prod(), 2 - , , correct(), 3 - buy(), , , 4 new_prod(), 5 seach(), Esc .
-. Enter . 1 new_potr(), 2 del_potr().
1
Potreb[10] | Potr | |
ntov | Int | |
npotr | int | |
strmenu[30][30] | Char | |
Color | Int | |
Da | date | |
Product.h | ||
Product[30] | product |
|
|
2
main() | . : see_tov(), see_potr(). . . : m, f char Key int Cr Int Old Int |
flush(void) | : SKLAD FILE* SKLAD RASXOD FILE* RASXOD i, j int |
Graph.h | |
new_menu(int cr,int old) | - . : x,y int |
window1(int x1,int y1,int x2,int y2) | . : I int |
vvod(void) | , . : M,c,cif,d Int Key Int array[] Int kol Int |
up(int *old,int *cr) | , .. ( ). |
2 | |
Product.h | |
down(int *old,int *cr,int n) | , .. ( ). |
int read_prod(void)) | , , . : RASXOD FILE* RASXOD I int j int |
new_prod(void) | , , - . |
del_prod(char number) | - . : j int |
corect(int number) | - . |
schet(int p1,int p2) | -. : d date |
int buy(int number) | . . : m,f,kol Int Key int cr Int Old Int |
int seach(void) | : Name[20] Char m Int j Int |
int see_tov(void) | . : m,f,kol,u,d,l.p int Cr int old int key Int |
2 | |
Potreb.h | |
del_potr(int number) | . : i int j int j Int |
int read_potr(void) | , . . : RASXOD FILE* RASXOD i int j int |
del_pok(int p,int number) | |
see_potreb(int number) | ( , ). : m,f,kol,u,d,l.p int Cr int old int key Int |
new_potr(void) | . |
see_potr(void) | ( ) : m,f int Cr int old int key Int |
|
|