<commit_before>#include "DBAppMenu.h"

#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>

using namespace std;
int menu = 0;
int submenu = 0;

int main(int argc, char const *argv[])
{
	while(true)
	{
	cout << "<<<<< Main Menu >>>>> /n/n/n";
	cout << "Menu Options: /n
			1) Location table /n
			2) Sale table /n
			3) Employee table /n
			4) Role table /n
			5) Report functions /n
			99) EXIT /n";
	cin >> menu;
		switch (menu)
		{
			case 0:		//main menu
				//link: 1,2,3,4,5, 9(back)
				cout << "<<<<< Main Menu >>>>> /n/n/n";
				cout << "Menu Options: /n
						1) Location table /n
						2) Sale table /n
						3) Employee table /n
						4) Role table /n
						5) Report functions /n
						9) Back / Previous Option /n
						99) EXIT /n";
				cin >> menu;
				break;

			case 1:		//location
				//Link: 0,2,3,11, 9(back)
				cout << "<<<<< Location Sub-Menu >>>>> /n/n/n";
				cout << "Menu Options: /n
						0) Return to Main Menu /n
						1) Sale Table /n
						2) Employee Table /n
						11) Location View /n";
				cin >> submenu;
				break;
				switch(submenu)
				{
					case 0:	//main
						menu = submenu;
						break;
					case 2: //sale

					case 3: //emp

					case 11: //locView
				}

			case 2:		//sale
				//Link: 0,1,3,21,22,23, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 1: //loc

					case 3: //emp

					case 21: //saleView

					case 22: //saleAdd

					case 23: //saleEdit
				}

			case 3:		//employee
				//Link: 0,1,2,31, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 1: //loc

					case 2: //sale

					case 31: //empView
				}

			case 4:		//role
				//Link: 0,41, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 41: //roleView
				}

			case 5:		//report
				//Link: 9(back)
				//functions: '-', '+', '*', select, project, back, exit

			case 9:		//back function
				//Back-step through stack
				//stack-1

			case 11:	//viewLoc
				//view: open, close, show, project, back, exit

			case 21:	//viewSale
				//view: open, close, show, project, back, exit

			case 22:	//addSale
				//add: write, createTable, update, back, exit

			case 23:	//editSale
				//edit: delete, insertInto, show, back, exit

			case 31:	//viewEmp
				//view: open, close, show, project, back, exit

			case 41: 	//viewRole
				//view: open, close, exit, show, project, back
			case 99;
				return false;
				break;
		}
	}	
}<commit_msg>Changed some syntax errors so it could compile<commit_after>//#include "DBAppMenu.h"

#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include <iostream>

using namespace std;
int menu = 0;
int submenu = 0;

int main(int argc, char const *argv[])
{
	while(true)
	{
	cout << "<<<<< Main Menu >>>>> \n\n\n";
	cout << "Menu Options: \n"
			<<"1) Location table \n"
			<<"2) Sale table \n"
			<<"3) Employee table \n"
			<<"4) Role table \n"
			<<"5) Report functions \n"
			<<"9) Back / Previous Option \n"
			<<"99) EXIT \n";
	cin >> menu;
		switch (menu)
		{
			case 0:		//main menu
				//link: 1,2,3,4,5, 9(back)
				cout << "<<<<< Main Menu >>>>> \n\n\n";
				cout << "Menu Options: \n"
						<<"1) Location table \n"
						<<"2) Sale table \n"
						<<"3) Employee table \n"
						<<"4) Role table \n"
						<<"5) Report functions \n"
						<<"9) Back / Previous Option \n"
						<<"99) EXIT \n";
				cin >> menu;
				break;

			case 1:		//location
				//Link: 0,2,3,11, 9(back)
				cout << "<<<<< Location Sub-Menu >>>>> \n\n\n";
				cout << "Menu Options: \n"
						<<"0) Return to Main Menu \n"
						<<"1) Sale Table \n"
						<<"2) Employee Table \n"
						<<"11) Location View \n";
				cin >> submenu;
				break;
				switch(submenu)
				{
					case 0:	//main
						menu = submenu;
						break;
					case 2: //sale

					case 3: //emp

					case 11: //locView
					break;
				}
			case 2:		//sale
				//Link: 0,1,3,21,22,23, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 1: //loc

					case 3: //emp

					case 21: //saleView

					case 22: //saleAdd

					case 23: //saleEdit
					break;
				}

			case 3:		//employee
				//Link: 0,1,2,31, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 1: //loc

					case 2: //sale

					case 31: //empView
					break;
				}

			case 4:		//role
				//Link: 0,41, 9(back)
				switch(submenu)
				{
					case 0:	//main

					case 41: //roleView
					break;
				}

			case 5:		//report
				//Link: 9(back)
				//functions: '-', '+', '*', select, project, back, exit

			case 9:		//back function
				//Back-step through stack
				//stack-1

			case 11:	//viewLoc
				//view: open, close, show, project, back, exit

			case 21:	//viewSale
				//view: open, close, show, project, back, exit

			case 22:	//addSale
				//add: write, createTable, update, back, exit

			case 23:	//editSale
				//edit: delete, insertInto, show, back, exit

			case 31:	//viewEmp
				//view: open, close, show, project, back, exit

			case 41: 	//viewRole
				//view: open, close, exit, show, project, back
			case 99:
				return false;
				break;
		}
	}	
}
{'fraction_non_alphanumeric': 0.17199211045364893, 'fraction_numerical': 0.039250493096646945, 'mean_word_length': 1.8424887892376682, 'pattern_counts': {'":': 0, '<': 102, '<?xml version=': 0, '>': 54, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5502120', 'n_tokens_mistral': 2700, 'n_tokens_neox': 1914, 'n_words': 610}