Chat with us, powered by LiveChat Need help with Lab. - Wridemy

Need help with Lab.

C++ Experts

 

 

Please ensure you use Visual Studio 2005 to build this. 

Also, take a look at the sample output.

 

ECET-450: Laboratory 7

Part A:

 

Purpose:

 

This laboratory provides some experience working with the C++ programming language that has an SQL query and SQL update embedded in it.

 

Procedure:

 

Follow all the procedures in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx prior to performing the procedure below.

 

Be sure to load the C++ to ProQueryExample code presented in the Appendix A of lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx. 

 

1.     Be sure to select a Visual C++ Project Type.  Also select a Win32 Console Application Template

(step 6 in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx.) 

 

Enter the name ProQuery for the project (step 7).

 

2.     Once you have started your source code, be sure to add the include files and the library files as indicated in my Oracle Access in C++ in ECET-450 document.

This should have been done in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx

 

3.     In the Solution Explorer, insert the source code from the ProQueryExample.cpp file into theProQuery.cpp file to add the needed C++ code.  You will want to use most of the classroom code as is.  However, you need to modify the code so that you list the sales representative’s last names, each of their customer’s balances, and each of their customer’s names in this order.  Be sure to update the column headings.  Update the spacing between columns if necessary.

This is also done in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx 

 

4.     In your ProQuery.cpp source file, modify the source code so that it changes the customer balance of Streaming Direct from $210.40 to $337.26.  Rerun the query in step 3 above.  Modify the source to return the balance of Streaming Direct to $210.40.  Rerun the query in step 3 above. Print out a copy of your output.

 

5.     Submit a cover sheet, a copy of your output, and the source code that you used to obtain it. Follow any additional instructions that your instructor may give you.

 

Step 4 and 5 are the real lab exercise part. Other steps before that are necessary to set up the lab and should have been done using lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx

Part B:

 

Purpose:

 

This laboratory provides some experience working with the C++ programming language that has an SQL insert and an SQL delete embedded in it.

 

Procedure:

 

When you have completed Part A, most of the following should have been performed except the name of the project to be entered.

 

Be sure to have a copy of the C++ to ProInsertExample code presented in the Appendix B of lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx.. 

 

1.     Select a new project.  Be sure to select a Visual C++ Project Type.  Also select a Win32 Console Application Template.  Create a folder on the F drive on the iLab server.  Enter the nameProInsert for the project.

 

2.     Once you have started your source code, be sure to add the include file and the library file as indicated in my Oracle Access in C++ in ECET-450 document.

 

3.     In the Solution Explorer, insert the source code from the ProInsertExample.cpp file into theProInsert.cpp file to add the needed C++ code.  You will want to use most of the classroom code as is.  However, you are to modify the code so that you display the contents of the Line table. 

 

4.     Display the contents of the Line table before doing the insertion.  Modify the member function to insert a new row in the Line table.  Add the following row: Invoice number: 42447, product ID: KW114, number ordered: 1, and price: $595.00.  Be sure to update the column headings.  Update the spacing between columns if necessary.

 

5.     Modify the member function that deletes this new row inserted in step 3 above.  Display the contents of the Line table again.  Print out a copy of your output that displays the Line table before the insertion, of the Line table after the insertion, and the Line table after the deletion.

 

6.     Submit a cover sheet, a copy of your output, and the source code that you used to obtain it. Follow any additional instructions that your instructor may give you.

 

 

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Wridemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order