Click here to Skip to main content
15,915,094 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questioninitializer for arrays Pin
Nishad S19-Oct-05 19:23
Nishad S19-Oct-05 19:23 
AnswerRe: initializer for arrays Pin
Johann Gerell19-Oct-05 20:17
Johann Gerell19-Oct-05 20:17 
AnswerRe: initializer for arrays Pin
prasad_som19-Oct-05 20:26
prasad_som19-Oct-05 20:26 
GeneralRe: initializer for arrays Pin
Johann Gerell19-Oct-05 20:29
Johann Gerell19-Oct-05 20:29 
GeneralRe: initializer for arrays Pin
Nishad S19-Oct-05 22:30
Nishad S19-Oct-05 22:30 
GeneralRe: initializer for arrays Pin
Johann Gerell20-Oct-05 1:00
Johann Gerell20-Oct-05 1:00 
GeneralRe: initializer for arrays Pin
Nishad S20-Oct-05 1:08
Nishad S20-Oct-05 1:08 
GeneralRe: initializer for arrays Pin
prasad_som20-Oct-05 1:06
prasad_som20-Oct-05 1:06 
Are you asking about this scenario?
class myClass
{
public:
myClass();
};
void main()
{
   myClass *objArr=new myClass[20];
}

If so, in this case class's default constructor get called. You need to write one to get this compiled.
And that is your chance for any initialization. This is by design Smile | :)
AnswerRe: initializer for arrays Pin
Nemanja Trifunovic20-Oct-05 2:57
Nemanja Trifunovic20-Oct-05 2:57 
Questiondoes anybody know any free tool for format source code ? Pin
CooperWu19-Oct-05 17:15
CooperWu19-Oct-05 17:15 
AnswerRe: does anybody know any free tool for format source code ? Pin
RichardS25-Oct-05 23:22
RichardS25-Oct-05 23:22 
QuestionCompact Direct Acyclic ByteVector Graph Pin
uno freeware19-Oct-05 16:48
uno freeware19-Oct-05 16:48 
QuestionCopy Ctor in inheritance Pin
LiYS19-Oct-05 16:26
LiYS19-Oct-05 16:26 
AnswerRe: Copy Ctor in inheritance Pin
Johann Gerell19-Oct-05 20:26
Johann Gerell19-Oct-05 20:26 
GeneralRe: Copy Ctor in inheritance Pin
LiYS19-Oct-05 21:16
LiYS19-Oct-05 21:16 
QuestionCalling managed code from unmanaged C++ Pin
Ludwig319-Oct-05 12:22
Ludwig319-Oct-05 12:22 
AnswerRe: Calling managed code from unmanaged C++ Pin
ursus zeta22-Oct-05 11:54
ursus zeta22-Oct-05 11:54 
QuestionExpanding DOS Command-line arguments Pin
ben0909018-Oct-05 16:40
ben0909018-Oct-05 16:40 
AnswerRe: Expanding DOS Command-line arguments Pin
Christian Graus18-Oct-05 17:23
protectorChristian Graus18-Oct-05 17:23 
QuestionNetwork Programming Pin
Member 121638118-Oct-05 8:23
Member 121638118-Oct-05 8:23 
Questionvirtual functions Pin
aloktambi18-Oct-05 1:33
aloktambi18-Oct-05 1:33 
AnswerRe: virtual functions Pin
Cedric Moonen18-Oct-05 4:48
Cedric Moonen18-Oct-05 4:48 
QuestionHow make Voice Chat server/Client ? Pin
ferhattt8417-Oct-05 23:46
ferhattt8417-Oct-05 23:46 
AnswerRe: How make Voice Chat server/Client ? Pin
TheGreatAndPowerfulOz19-Oct-05 11:24
TheGreatAndPowerfulOz19-Oct-05 11:24 
Questionlinked list Pin
da_comp_learner17-Oct-05 20:31
da_comp_learner17-Oct-05 20:31 

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.