Indent your code.
Change your headers, you are using deprecated ones
1 2 3 4 5 6 7 8 9 10 11
|
#include<fstream>
//#include<conio.h> Avoid it
#include<cstring>
#include<cstdio>
//#include<process.h> //for exit function
#include <cstdlib> //this one has exit
#include<iomanip>
//#include<dos.h> Avoid it
#include <iostream>
using namespace std;
|
You are using iostream an cstdio, you better just one.
I hope that your interface is created by meta-programming. You are practically controlling every position of the letters. What you will do if you want to add an statement?
That trick with the delay is useless, you are wasting your time coding it and the program is wasting resources executing it.
Another reason to avoid conio.h and dos.h is that they are not portable (I just commented the lines to compile)
Don't use gets, it could cause buffer overflow. replace it with
cin.getline
You have an compiler error around line 900
if( cond=='2'||cond'3' )
. And main must return int.
Change your compiler.
Try to separate your program in various files, definition from implementation.