How To Add an Existing cpp File To A Project
- Copy the *.cpp file that you would like
to add to your project to the project's directory
- Launch Visual C++, and open the project to
which you will add the *.cpp file
- From the "Project" menu
select Add To Project -> File...
- Point the resulting dialog box to the *.cpp
that you would like to add and click OK (Note: You must have the file type option set to
*.cpp files in the lower portion of the dialog box)
- This action will not open the recently added
*.cpp file, you will now need to open that file if you want to work on it.