c++ coding problem

User Generated

9527666_

Computer Science

Description

  • Download and complete the problems as described the assignment handout: PS1.pdf
  • Source code: f.cpp
  • This file provides steps for importing source code into Dev-C++ and Visual C++: Importing Source Code.pdf
  • website cant allow me to upload .pp file. so I type txt style.

Unformatted Attachment Preview

Importing Existing Source Code Files This example shows how to import two existing files (myfile.h and myfile.cpp) into your compiler. You use these steps to import source code files into your compiler, such as those provided for the problem sets. Some problem sets may one contain a .cpp file. Note: our first assignment does not have a .h file, other assignments, especially the final project may have a .h file along with the .cpp file. Using Microsoft Visual C++ 1. Open Microsoft Visual C++ and create a new empty console application project, and name the project Problem1a (or a name that you prefer). 2. Delete the Problem1a.cpp file that was created located in the Source Files folder. Right click on the file and select Remove. 3. Extract the files for the assignment from Zip file and place them in your newly created project folder. 4. Right click on the Header Files folder located in the left panel. Select Add > Existing File. Then browse the folders on your computer to select the myfile.h file. Perform this step an additional time to add the myfile.cpp file to the Source Files folder. 5. Add the following include at the top of the driver.cpp file: #include “stdafx.h” 6. Compile and run the program. If your console window closes before you can look at the output, place the following line before the return statement in the function main(): cout
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

...


Anonymous
Awesome! Perfect study aid.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags