Database Bu5010
Class notes
022607

Menu:

Next Monday, March 5th is a QUIZ

Review

1) database menu & submenu is due regarding your project

conference with each individual

2) Quiz review
        a) 100 true/false
        class lectures/ journals/text/general knowledge

3) submit 10 question quiz in the exam area
        Capt. & Asst. Capt. will paste them in the wcm of database class

*late Sunday time for pasting

C) submitted quiz should not be trivial and from which lecture or page of textbook.

should clustered out

4) DEMO you get 5pts. and will help you to go on

5) help from text book volume file
    look at file and database chapter 9

6) research (5-8 pages)
    title and subtitle
    abstract 70-100 words
    introduction (3 paragraphs)
    background with references (at least 5) 3pages
    conclusion (2 paragraphs)

Sample C++ atm menu:

#include<fstream>

#include<string>

#include<iostream>

#include<iomanip>

using namespace std;

main() {

cout << " Ebrahimi Bank of New York"<<endl;

cout << " Old Westbury, NY 11568"<<endl<<endl;

cout << "\t 1. Deposit \t\t 2. Withdraw"<<endl;

cout << "\t 3. Transfer \t\t 4. Loan"<<endl;

cout << "\t 5. Balance \t\t 6. Help"<<endl;

return 0;

}//MAIN

How would you make your database to become CGI?

Few lines from C++ before and after

#include<fstream>

#include<string>

#include<iostream>

#include<iomanip>

using namespace std;

main() {

cout << " Ebrahimi Tutorial System"<<endl;

cout << " Old Westbury, NY 11568"<<endl<<endl;

cout << "\t 1. Beginners \t\t 2. Intermediate"<<endl;

cout << "\t 3. Advanced \t\t\t 4. Plan observation"<<endl;

cout << "\t 5. Plan integration \t\t 6. Plan creation"<<endl;

cout << "\t 7. help"<<endl;

return 0;

}//MAIN

*ctrl+alt+del is an invisible character

#include<fstream>

#include<string>

#include<iostream>

#include<iomanip>

using namespace std;

beginners(){

cout << " beginners under construction" <<endl;

return 0; }

intermediate(){

cout << " intermediate under construction" <<endl;

return 0; }

advanced(){

cout << " advanced under construction" <<endl;

return 0; }

planobservation(){

cout << " plan observation under construction" <<endl;

return 0; }

planintegration(){

cout << " plan integration under construction" <<endl;

return 0; }

plancreation(){

cout << " plan creation under construction" <<endl;

return 0; }

help(){

cout << " help under construction" <<endl;

return 0; }

 

main() {

int option;

cout << " Ebrahimi Tutorial System"<<endl;

cout << " Old Westbury, NY 11568"<<endl<<endl;

cout << "\t 1. Beginners \t\t 2. Intermediate"<<endl;

cout << "\t 3. Advanced \t\t\t 4. Plan observation"<<endl;

cout << "\t 5. Plan integration \t\t 6. Plan creation"<<endl;

cout << "\t 7. help"<<endl;

cin >> option ;

if(option==1) beginners();

else if (option==2) intermediate();

else if (option==3) advanced ();

else if (option==4) planobservation ();

else if (option==5) planintegration ();

else if (option==6) plancreation ();

else if (option==7) help ();

return 0;

}//MAIN