Chapter 1 - Adding code files to an empty project
I am just starting this book and am in Chapter 1. I have created an empty project as the book shows and was able to type in code. What Ivor Horton does not tell you at this point is how to add one of the down loaded files to the project. I have attmepted to do this seemingly simple task, but nothing seems to do the trick. Here is what I have done:
After opening the project I Right Clicked in the Solution Explorer box. Then selected ADD NEW ITEM from the drop down menu. In the ADD NEW ITEM box I selected CODE under the installed templates and C++ file (.cpp) from the middle of the box. At the bottom of the Box I selected Browse located nex to the location field and selected the folder containing my unzipped fle. In the name box I entered the name of my file.
The system then went to the Editor box with only a line number 1 displayed but nothing else.Any help on this would be appreciated.