Click here to Skip to main content
15,906,766 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting double slashes Pin
Mark0627-Jul-07 3:06
Mark0627-Jul-07 3:06 
GeneralRe: Converting double slashes Pin
Guffa27-Jul-07 3:12
Guffa27-Jul-07 3:12 
GeneralRe: Converting double slashes Pin
Mike Dimmick27-Jul-07 3:14
Mike Dimmick27-Jul-07 3:14 
GeneralRe: Converting double slashes Pin
Mark0627-Jul-07 3:31
Mark0627-Jul-07 3:31 
GeneralRe: Converting double slashes Pin
Mike Dimmick27-Jul-07 3:13
Mike Dimmick27-Jul-07 3:13 
JokeRe: Converting double slashes Pin
Luc Pattyn27-Jul-07 10:42
sitebuilderLuc Pattyn27-Jul-07 10:42 
AnswerRe: Converting double slashes Pin
Guffa27-Jul-07 3:10
Guffa27-Jul-07 3:10 
QuestionHard drive serial number Pin
Yosh_27-Jul-07 2:37
professionalYosh_27-Jul-07 2:37 
AnswerRe: Hard drive serial number Pin
Bekjong27-Jul-07 2:46
Bekjong27-Jul-07 2:46 
AnswerRe: Hard drive serial number Pin
Mike Dimmick27-Jul-07 3:09
Mike Dimmick27-Jul-07 3:09 
AnswerRe: Hard drive serial number Pin
zeno_nz28-Jul-07 0:06
zeno_nz28-Jul-07 0:06 
GeneralRe: Hard drive serial number Pin
Yosh_30-Jul-07 1:58
professionalYosh_30-Jul-07 1:58 
AnswerRe: Hard drive serial number Pin
Harkamal Singh28-Jul-07 22:27
Harkamal Singh28-Jul-07 22:27 
Questioninternal/internal protected Pin
Sonia Gupta27-Jul-07 2:12
Sonia Gupta27-Jul-07 2:12 
AnswerRe: internal/internal protected Pin
Pete O'Hanlon27-Jul-07 2:17
mvePete O'Hanlon27-Jul-07 2:17 
GeneralRe: internal/internal protected Pin
Sonia Gupta27-Jul-07 2:22
Sonia Gupta27-Jul-07 2:22 
GeneralRe: internal/internal protected Pin
Malcolm Smart27-Jul-07 2:24
Malcolm Smart27-Jul-07 2:24 
GeneralRe: internal/internal protected Pin
Pete O'Hanlon29-Jul-07 10:04
mvePete O'Hanlon29-Jul-07 10:04 
GeneralRe: internal/internal protected Pin
Pete O'Hanlon29-Jul-07 10:13
mvePete O'Hanlon29-Jul-07 10:13 
QuestionTreeView Bug! [modified] Pin
mjelten27-Jul-07 1:48
mjelten27-Jul-07 1:48 
AnswerRe: TreeView Bug! Pin
Paul Conrad28-Jul-07 17:49
professionalPaul Conrad28-Jul-07 17:49 
QuestionInstantiate Array of User defined type Pin
kildareflare27-Jul-07 1:36
kildareflare27-Jul-07 1:36 
Hello I have a Class A (cNOT) that is inhertied from Class B (acGenericGate)has another class C (CInput) I have developed as a member variable.

This works fine until I try to make this member an array of said class.
The constructor is then not called for the ClassC, and while the array is created, each element is undefined instead of an instance Class C.
What have I missed?
Thanks
Rich

	class cInput  : acGenericGate<br />
	{<br />
		private bool m_bState;<br />
        }<br />
<br />
	abstract class acLogicGate : acGenericGate<br />
	{<br />
		private cInput[] m_bInputs;<br />
<br />
		public acLogicGate()<br />
		{<br />
                m_bInputs = new cInput[2];<br />
                }<br />
        }<br />
<br />
	class cNOT : acLogicGate<br />
	{<br />
        }<br />
<br />


Thus the array m_bInputs is empty it does not contain instances of cInput.
AnswerRe: Instantiate Array of User defined type Pin
Pete O'Hanlon27-Jul-07 1:56
mvePete O'Hanlon27-Jul-07 1:56 
GeneralRe: Instantiate Array of User defined type Pin
kildareflare27-Jul-07 23:46
kildareflare27-Jul-07 23:46 
GeneralRe: Instantiate Array of User defined type Pin
PaulPrice29-Jul-07 21:04
PaulPrice29-Jul-07 21:04 

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.