Click here to Skip to main content
15,909,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Parallel Port Polling Pin
Mark Salsbery25-Feb-08 11:04
Mark Salsbery25-Feb-08 11:04 
GeneralRe: Parallel Port Polling Pin
GlenET26-Feb-08 7:21
GlenET26-Feb-08 7:21 
GeneralRe: Parallel Port Polling Pin
Mark Salsbery26-Feb-08 7:51
Mark Salsbery26-Feb-08 7:51 
Generallistview item height Pin
Jim Crafton25-Feb-08 8:19
Jim Crafton25-Feb-08 8:19 
GeneralRe: listview item height Pin
Dr. Emmett Brown25-Feb-08 10:26
Dr. Emmett Brown25-Feb-08 10:26 
GeneralRe: listview item height Pin
David Crow25-Feb-08 11:30
David Crow25-Feb-08 11:30 
GeneralRe: listview item height Pin
Michael Dunn25-Feb-08 12:43
sitebuilderMichael Dunn25-Feb-08 12:43 
Generalconstructor / destructor in template class Pin
act_x25-Feb-08 7:33
act_x25-Feb-08 7:33 
template <class t=""> <br />
class CProtectedVariable <br />
{<br />
	CProtectedVariable()<br />
	{<br />
	} ; <br />
<br />
	~CProtectedVariable()<br />
	{<br />
	}<br />
<br />
protected :<br />
	T m_Var ; <br />
<br />
} ; </class>

when i do this and include this another class as a member. I am getting a few compiler errors

#include "Protected.h" <br />
class OutSideClass <br />
{<br />
protected :<br />
	CProtectedVariable<bool> m_initState ; <br />
};</bool>


error C2248: 'CProtectedVariable<t>::CProtectedVariable' : cannot access private member declared in class 'CProtectedVariable<t>'<br />
1>        with<br />
1>        [<br />
1>            T=bool<br />
1>        ]</t></t>


What am I missing here ?

Engineering is the effort !

GeneralRe: constructor / destructor in template class Pin
CPallini25-Feb-08 7:38
mveCPallini25-Feb-08 7:38 
GeneralRe: constructor / destructor in template class Pin
act_x25-Feb-08 7:52
act_x25-Feb-08 7:52 
GeneralRe: constructor / destructor in template class Pin
David Crow25-Feb-08 7:41
David Crow25-Feb-08 7:41 
QuestionAdding trend-line to MSCHART in C++ Pin
Member 343670325-Feb-08 5:33
Member 343670325-Feb-08 5:33 
GeneralGet m_nIDHelp of active dialog from CMainFrame in MDI application Pin
ptr_Electron25-Feb-08 5:21
ptr_Electron25-Feb-08 5:21 
GeneralRe: Get m_nIDHelp of active dialog from CMainFrame in MDI application Pin
Dr. Emmett Brown25-Feb-08 5:30
Dr. Emmett Brown25-Feb-08 5:30 
GeneralRe: Get m_nIDHelp of active dialog from CMainFrame in MDI application Pin
ptr_Electron25-Feb-08 23:15
ptr_Electron25-Feb-08 23:15 
GeneralHide the dilog in dialog based application. Pin
vicky0000025-Feb-08 3:18
vicky0000025-Feb-08 3:18 
GeneralRe: Hide the dilog in dialog based application. Pin
Maxwell Chen25-Feb-08 3:23
Maxwell Chen25-Feb-08 3:23 
GeneralRe: Hide the dilog in dialog based application. Pin
vicky0000025-Feb-08 17:54
vicky0000025-Feb-08 17:54 
GeneralRe: Hide the dilog in dialog based application. Pin
Maxwell Chen25-Feb-08 3:36
Maxwell Chen25-Feb-08 3:36 
AnswerRe: Hide the dilog in dialog based application. Pin
Rajkumar R25-Feb-08 3:52
Rajkumar R25-Feb-08 3:52 
GeneralRe: Hide the dilog in dialog based application. Pin
David Crow25-Feb-08 3:58
David Crow25-Feb-08 3:58 
GeneralRe: Hide the dilog in dialog based application. Pin
vicky0000026-Feb-08 22:56
vicky0000026-Feb-08 22:56 
Generalopening an .mdb file Pin
Anandi.VC25-Feb-08 2:53
Anandi.VC25-Feb-08 2:53 
GeneralRe: opening an .mdb file Pin
David Crow25-Feb-08 3:54
David Crow25-Feb-08 3:54 
GeneralRe: opening an .mdb file Pin
Anandi.VC25-Feb-08 5:02
Anandi.VC25-Feb-08 5:02 

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.