In: Computer Science
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.
Create a project by pointing to New on the File menu, and then clicking Project.
In the Visual C++ project types pane, click Win32, and then click Win32 Console Application.
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.
In the Win32 Application Wizard, click Next, select Empty Project,and then click Finish.
If Solution Explorer is not displayed, on the View menu, click Solution Explorer.
Add a new source file to the project, as follows.
In Solution Explorer, right-click the Source Files folder, point to Add, and then click New Item.
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.
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.
Save the file.
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.
On the Debug menu, click Start without Debugging.
Thank you!.