Click here to Skip to main content
15,911,478 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Configure Windows Update Pin
Girish6017-Oct-05 0:16
Girish6017-Oct-05 0:16 
QuestionRe: How to Configure Windows Update Pin
David Crow7-Oct-05 3:34
David Crow7-Oct-05 3:34 
AnswerRe: How to Configure Windows Update Pin
Girish6017-Oct-05 20:09
Girish6017-Oct-05 20:09 
GeneralRe: How to Configure Windows Update Pin
David Crow10-Oct-05 2:56
David Crow10-Oct-05 2:56 
GeneralRe: How to Configure Windows Update Pin
Girish60110-Oct-05 4:23
Girish60110-Oct-05 4:23 
QuestionRe: How to Configure Windows Update Pin
David Crow10-Oct-05 4:30
David Crow10-Oct-05 4:30 
AnswerRe: How to Configure Windows Update Pin
Girish60110-Oct-05 5:00
Girish60110-Oct-05 5:00 
QuestionClass not visible Pin
billiam9046-Oct-05 23:27
billiam9046-Oct-05 23:27 
I am a newbie to vc++. I did some C 15 years ago... but, normally, I'm a vb.net guy. However, my current job is VC++ and my boss wants me to place a class inside a .h and .cpp file that already has an existing class. I did this fine but when trying to define an instance of this class from another class, it seems invisible even though I have included the .h file.

Here's my code:

file1.h


class Class1
{
// definitions here
};

class Class2
{
// definitions here
};

File1.cpp:

#include "file1.h"

Class1::SomeFunction()
{
}

Class2::AnotherFunction()
{
}

File 2.h

#include "File1.h"

class Class3
{
Class2 cClass2; // not visible.
};

Any ideas?



Bill Dennis
Orlando, FL
AnswerRe: Class not visible Pin
Colonel Walter E. Kurtz6-Oct-05 23:42
Colonel Walter E. Kurtz6-Oct-05 23:42 
GeneralRe: Class not visible Pin
billiam9047-Oct-05 0:17
billiam9047-Oct-05 0:17 
AnswerRe: Class not visible Pin
toxcct7-Oct-05 0:28
toxcct7-Oct-05 0:28 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 3:13
Anonymous7-Oct-05 3:13 
GeneralRe: Class not visible Pin
Colonel Walter E. Kurtz7-Oct-05 0:35
Colonel Walter E. Kurtz7-Oct-05 0:35 
GeneralRe: Class not visible Pin
toxcct7-Oct-05 1:28
toxcct7-Oct-05 1:28 
GeneralRe: Class not visible Pin
David Crow7-Oct-05 3:37
David Crow7-Oct-05 3:37 
GeneralRe: Class not visible Pin
Bill Dennis7-Oct-05 4:54
sussBill Dennis7-Oct-05 4:54 
GeneralRe: Class not visible Pin
David Crow7-Oct-05 5:17
David Crow7-Oct-05 5:17 
AnswerRe: Class not visible Pin
David Crow7-Oct-05 3:43
David Crow7-Oct-05 3:43 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 4:41
Anonymous7-Oct-05 4:41 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 4:43
Anonymous7-Oct-05 4:43 
GeneralRe: Class not visible Pin
Jose Lamas Rios7-Oct-05 5:00
Jose Lamas Rios7-Oct-05 5:00 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 5:11
Anonymous7-Oct-05 5:11 
GeneralRe: Class not visible Pin
Jose Lamas Rios7-Oct-05 5:23
Jose Lamas Rios7-Oct-05 5:23 
QuestionSend mail from apps: different ways... Pin
SonOfGrey6-Oct-05 23:22
SonOfGrey6-Oct-05 23:22 
QuestionKey Entry Pin
Mike Winter6-Oct-05 22:43
Mike Winter6-Oct-05 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.