From 6b3730a7f60dd39df73080f23a3a15902f2349b0 Mon Sep 17 00:00:00 2001 From: William Bracho Blok Date: Tue, 29 Sep 2015 22:02:25 -0500 Subject: [PATCH 1/6] Update DBApp.cpp --- DBApp.cpp | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/DBApp.cpp b/DBApp.cpp index cb9dc19..4619c55 100755 --- a/DBApp.cpp +++ b/DBApp.cpp @@ -37,4 +37,50 @@ int main() } } -*/ \ No newline at end of file +*/ + + +void yourAccount() +{ + cout<<"name: yourName"<>choice; + if (choice == 1) + { + yourAccount(); + } +} + + +int main() +{ + cout<<"***************************************"<>choice; + + + if (choice == 1) + { + mainMenu(); + } + +} From 85b00fc497be145748d06765d6e82a178eeb042a Mon Sep 17 00:00:00 2001 From: William Bracho Blok Date: Tue, 29 Sep 2015 22:04:27 -0500 Subject: [PATCH 2/6] Update DBApp.cpp --- DBApp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DBApp.cpp b/DBApp.cpp index 4619c55..f6d4bee 100755 --- a/DBApp.cpp +++ b/DBApp.cpp @@ -37,7 +37,7 @@ int main() } } -*/ + void yourAccount() @@ -84,3 +84,4 @@ int main() } } +*/ From 948224c1a04b83eaafd06a741b7905704c809970 Mon Sep 17 00:00:00 2001 From: William Bracho Blok Date: Tue, 29 Sep 2015 22:20:01 -0500 Subject: [PATCH 3/6] Update DBApp.cpp --- DBApp.cpp | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/DBApp.cpp b/DBApp.cpp index f6d4bee..50c8918 100755 --- a/DBApp.cpp +++ b/DBApp.cpp @@ -37,51 +37,4 @@ int main() } } - - - -void yourAccount() -{ - cout<<"name: yourName"<>choice; - if (choice == 1) - { - yourAccount(); - } -} - - -int main() -{ - cout<<"***************************************"<>choice; - - - if (choice == 1) - { - mainMenu(); - } - -} */ From 9b8b16d82abb7d71c46039290fc2726f49725226 Mon Sep 17 00:00:00 2001 From: William Bracho Blok Date: Tue, 29 Sep 2015 22:49:18 -0500 Subject: [PATCH 4/6] Create DBAppV2.cpp --- DBAppV2.cpp | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 DBAppV2.cpp diff --git a/DBAppV2.cpp b/DBAppV2.cpp new file mode 100644 index 0000000..f5c880f --- /dev/null +++ b/DBAppV2.cpp @@ -0,0 +1,144 @@ +#include + +using namespace std; + + +void displayMainMenu() +{ + cout<<"***************"<>choice; + cout<<"0. Return to main menu"<>choice; + cout<<"0. Return to main menu"<>choice; + cout<<"0. Return to main menu"<>choice; + cout<<"Boards will be displayed soon"<>choice; + cout<<"0. Return to main menu"<>choice; + cout<<"0. Return to main menu"<>choice; + + switch (choice) + { + case 1: yourAccount(); + case 2: BoardMenu(); + case 3: showMessages(); + case 4: showGroups(); + } +} + + +int main() +{ + cout<<"***************************************"<>choice; + + + if (choice == 1) + { + cout<<"ramera"< Date: Tue, 29 Sep 2015 23:06:39 -0500 Subject: [PATCH 5/6] Update DBAppV2.cpp Some menu options based on the example. Still needs to be loopable --- DBAppV2.cpp | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/DBAppV2.cpp b/DBAppV2.cpp index f5c880f..a1c9b7f 100644 --- a/DBAppV2.cpp +++ b/DBAppV2.cpp @@ -3,53 +3,37 @@ using namespace std; -void displayMainMenu() -{ - cout<<"***************"<>choice; + // int choice; + // cin>>choice; cout<<"0. Return to main menu"<>choice; + // int choice; + // cin>>choice; cout<<"0. Return to main menu"<>choice; + // int choice; + // cin>>choice; cout<<"0. Return to main menu"<>choice; + // int choice; + // cin>>choice; cout<<"0. Return to main menu"<>choice; + // int choice; + // cin>>choice; cout<<"0. Return to main menu"< Date: Tue, 29 Sep 2015 23:08:58 -0500 Subject: [PATCH 6/6] Update DBAppV2.cpp Added some menu options based on the example. Still needs to be loopable --- DBAppV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DBAppV2.cpp b/DBAppV2.cpp index a1c9b7f..a66537a 100644 --- a/DBAppV2.cpp +++ b/DBAppV2.cpp @@ -1,5 +1,5 @@ #include - + using namespace std;