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?
This code is an expression of cp command in c language. But I don't understand this...
This code is an expression of cp command in c language. But I don't understand this code very well. Please explain in notes one by one.(in detail) #include<stdio.h> #include<stdlib.h> #include<fcntl.h> #include<errno.h> #include<stdlib.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<unistd.h> int main(int argc, char *argv[]) { char ch; int src, dst; struct stat st; if(argc != 3) { printf("argument error \n"); printf("usage: ./a.out src dest \n"); exit(0); } if (stat(argv[1], &st) == -1) { perror("stat : "); exit(-1); } src = open(argv[1], O_RDONLY); if(src...
Have a pretty good idea on how to solve this program, I'm just not very accustomed...
Have a pretty good idea on how to solve this program, I'm just not very accustomed to formatting well in Java for these types of problems. In java, you have full control of what's printed, I just need to get better at it, so I thought I'd post it here to receive an answer to learn from. Thanks for everything guys. This program must use the Exclusive OR Operator ^ in java, it must also use a while loop. The...
Hi, I am working on an assignment in C-Programming language dealing with LInked lists, in the...
Hi, I am working on an assignment in C-Programming language dealing with LInked lists, in the code there is instructions on where to write the code. I do not know how to write Linked Lists. Has to be in the C-language, Any help is greatly appreciated   //agelink.c //maintains list of agents //uses linked list #include <stdio.h> #include <stdlib.h> #define TRUE 1 void listall(void); void newname(void); void delink(void); void memexit(void); void wfile(void); /********************************************************************* this is the structure to hold a agent...
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
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT