Solved

newbie question: how to add a new class into MFC project?

Posted on 2002-04-09
1
161 Views
Last Modified: 2013-11-20
Hi Guys,

  I am having problem compiling my MFC project after I added a new C++ class into the project. This C++ class is a stand-alone class. It complains that the C++ class is not a class or namespace name....
0
Comment
Question by:zollen
1 Comment
 
LVL 3

Accepted Solution

by:
jsakhtar earned 50 total points
Comment Utility
You need to #include the header that defines the class in the file that you are going to use it.

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 57
Hibernate methods 2 58
Doc'in system (example?) BA 7 78
firstChar challenge 13 82
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now