///
///
// Main function index.cpp user menu //
///
//
#include
#include "basefun.h"
void main ()
{
//Function menu
DO
{
COUT << "Welcome to the Data Structure Algorithm" << ENDL
<< "1) Linear Table" << ENDL
<< "2) Stack" << ENDL
<< "3) Queue" << Endl
<< "4) Binary tree" << Endl
<< "5) Figure" << Endl
<< "6) Sort Algorithm" << ENDL
<< "7) string" << Endl
<< "x) Press any key to exit" << Endl;
Cout << "Please choose what data structure:" << Endl;
Int Kind;
CIN >> KIND;
Switch (kind)
{
Case 1: List (); Break;
Case 2: stack ();
Case 3: Queue (); BREAK;
Case 4: bintree ();
Case 5: graph ();
Case 6: Compositor (); BREAK;
Default: return;
}
WHILE (TRUE);
}