When writing programs with class declarations you need to write a header file with the .h extension. In Microsoft Visual Studio 2008 where do you enter this bit of code? I know how to start a .cpp file but don't know where to put the extension so I can call on it later.

Sorry just looked again. The thing that we use for this course is Visual Basic C++ 2008.

In Solution Explorer right click on your project name (in bold print), go to Add.. /New Item and select header file. If Solution Explorer is not visible go to View/Solution Explorer.

Visual Basic C++ 2008.

We went over this already that is not the name of it. You either have Visual Studio (the full version) or Visual C++ Express Edition. VB never comes into play.

thank you very much

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.