How do I add a source file to a C + + project?

Try the following: Right-click on Source files and choose Add | New Item… You should, just as you did for C#, create a C++ project and add your source file to that. Then there will be all the build options you ever dreamed of.
For More Information Please Refer:


You May Also Like to Read: