Скачиваний:
23
Добавлен:
02.05.2014
Размер:
974 б
Скачать
#include <iostream.h>
#include <conio.h>
#include <fstream.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <baza.h>
void main()
{
 int y;
 clrscr();
 while (y!=48)
  {
    clrscr();
    printf("THE PROGRAM (--Population--) VERSION 1.0 \n\n");
    printf("||--YANIN ALEKSEY IS MADE THIS PROGRAM--||\n\n");
    printf("-----------MENU-----------------\n");
    printf("| 1 - ADD                      |\n");
    printf("| 2 - PRINT                    |\n");
    printf("| 3 - SEARCH                   |\n");
    printf("| 4 - REMOVE                   |\n");
    printf("| 5 - SORTING                  |\n");
    printf("| 0 - EXIT                     |\n");
    printf("--------------------------------\n\n");
    y=getch();
    switch(y)
     {  case 49: dobav();break;
	case 50: vivod();getch();break;
	case 51: poisk();getch();break;
	case 52: del();dell_enter();break;
	case 53: sort(); getch(); break;
      }
   }
}