basic questions on setting up a project

Started by
-1 comments, last by nick2price 15 years, 5 months ago
I am using visual C++ with open gl for my applications. I am just a bit confused as to the proper way to set up a project. So i start by creating a new project, console32 application as i was told by tutor. And then i have a project folder created. This is ok and works fine when i do programs with just one class. What i dont understand is the way to add like .h files to my project or other .c classes. I normally just go to new-file and then choose the file type, but then say if i create a new .h file, and then add #include "new.h" to my main c++ file, i always get returned the error: skipped looking for new.h ....... So my question is, what is the proper way to add .c and .h files to my project. And secondly, can anyone just briefly explain to me what exactly a .h file is? cheers

This topic is closed to new replies.

Advertisement