Question

In: Computer Science

hi so i'm new to c++ i understand the language pretty good however no experience whatsoever...

hi so i'm new to c++ i understand the language pretty good however no experience whatsoever with visual studio here is the assigment

Examine, understand, compile and run the FruitJuice Program (all files) and submit it (a copy is made available on LMS)

i know what the program does and i get what is doing but i don't even know if i'm opening the thing the right way from visual studio it wont see it as a project at all. here is the list of files if have.

cashRegister.h

cashRegisterImp.cpp

dispenserType.h

dispenserTypeImp.cpp

mainProgJuiceMachine.cpp

i can open every file individually with visual studio from the folder but i don't know how to open it as a project. or run it. please help

i need to open de project run it and compile it.

Solutions

Expert Solution

  1. Create a project by pointing to New on the File menu, and then clicking Project.

  2. In the Visual C++ project types pane, click Win32, and then click Win32 Console Application.

  3. Type a name for the project.

    By default, the solution that contains the project has the same name as the project, but you can type a different name. You can also type a different location for the project.

    Click OK to create the project.

  4. In the Win32 Application Wizard, click Next, select Empty Project,and then click Finish.

  5. If Solution Explorer is not displayed, on the View menu, click Solution Explorer.

  6. Add a new source file to the project, as follows.

    1. In Solution Explorer, right-click the Source Files folder, point to Add, and then click New Item.

    2. In the Code node, click C++ File (.cpp), type a name for the file, and then click Add.

    The .cpp file appears in the Source Files folder in Solution Explorer, and the file is opened in the Visual Studio editor.

  7. In the file in the editor, type a valid C++ program that uses the Standard C++ Library, or copy one of the sample programs and paste it in the file.

  8. Save the file.

  9. On the Build menu, click Build Solution.

    The Output window displays information about the compilation progress, for example, the location of the build log and a message that indicates the build status.

  10. On the Debug menu, click Start without Debugging.

  11. Thank you!.


Related Solutions

So for the following question I really want to understand how to approach the problem. I'm...
So for the following question I really want to understand how to approach the problem. I'm having a really hard time understanding the concept so a detailed answer (that's also dumbed down) will be much appreciated! If a drug has a half-life of 10 hours and is taken orally, how long will it take until the subject achieves a steady state drug concentration?
Hi! I have a homework question I'm not sure if I'm doing it correctly. Below is...
Hi! I have a homework question I'm not sure if I'm doing it correctly. Below is the information from the question and my answer in bold. Glass Company makes glass orders based on the customer specifications, so the company uses job costing to track costs. The company uses direct labor hours as the cost driver for manufacturing overhead application. Manufacturing overhead costs for the year:        $787,500 Usage of direct labor hours for the year:               225,000 Beginning Work-in-process, March 1 (Job 57)      $80,000 Beginning...
I'm doing this homework on relativity and I'm not very good at it. :( I keep...
I'm doing this homework on relativity and I'm not very good at it. :( I keep getting things wrong or confused in my head. Please help me to understand this! Thank you in advance! 3. Person A is at rest with a light clock. Person B is in a car moving to the left (as seen by Person A with a light clock). Discuss how each person will perceive time. Use algebra to find the time measured by Person A...
i believe i understand sigma and pi for covalent bonds... however do not understand sigma and...
i believe i understand sigma and pi for covalent bonds... however do not understand sigma and pi bonds for ionic bonds. so   what are properties of ionic sigma pi bonds...can you/we sketch them. what makes them different from convalent sigma pi bonds?   TY
Thank you in advance, i'm not so good with this subject so could you include the...
Thank you in advance, i'm not so good with this subject so could you include the steps you did please 1. The gross weekly sales at a certain super market are a Gaussian random with mean $2200 and standard deviation $230. Assume that the sales from week to week are independent. (a) Find the probability that the gross sales over the next two weeks exceed $5000. (b) Find the probability that the gross weekly sales exceed $2000 in at least...
Hi I'm having a hard time understand this can someone please explain it to me? Thank...
Hi I'm having a hard time understand this can someone please explain it to me? Thank you. Cholesterol is a type of fat found in the blood. It is measured as a concentration: the number of milligrams of cholesterol found per deciliter of blood (mg/dL). A high level of total cholesterol in the bloodstream increases risk for heart disease. For this problem, assume cholesterol in men and women follows a normal distribution, and that “adult man” and “adult woman” refers...
GPA calculator in C language To understand the value of records in a programming language, write...
GPA calculator in C language To understand the value of records in a programming language, write a small program in a C-based language that uses an array of structs that store student information, including name, age, GPA as a float, and grade level as a string (e.g., “freshmen,” etc.). Note:Code and Output Screenshots
C programming language. **I am aware that I am only supposed to ask one question so...
C programming language. **I am aware that I am only supposed to ask one question so if you cant do all of this could you please do part 2? thank you! This lab, along with your TA, will help you navigate through applying iterative statements in C. Once again we will take a modular approach to designing solutions to the problem below. As part of the lab you will need to decide which C selection structure and iterative structure is...
C programming language. **I am aware that I am only supposed to ask one question so...
C programming language. **I am aware that I am only supposed to ask one question so if you cant do all of this could you please do part 3? thank you! This lab, along with your TA, will help you navigate through applying iterative statements in C. Once again we will take a modular approach to designing solutions to the problem below. As part of the lab you will need to decide which C selection structure and iterative structure is...
Hi, I asked a similar question yesterday and the answer was amazing. However, this is a...
Hi, I asked a similar question yesterday and the answer was amazing. However, this is a case study so I need relevant data / real cases / real examples and information on these issues. I am struggling to find any key sources for any of these question (only need to do 1 question but in depth, about 3000 words). Thanks Write a report on trade, employment and wages in Vietnam. Write a report on disinflation, fiscal sustainability and economics growth...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT