Re: [Dev-C++] Help with creating objects dynamically
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Graham D. <g.d...@nt...> - 2003-07-21 21:58:14
|
Is this any better? I've tried setting the preferences for this mailing list to "plain text" so that it doesn't try to send HTML - let's see if it works. I might have to try a couple of times to get the formatting right, though. Sorry for the confusion - I'll get there in the end. Graham Per Westermark wrote: >Hi Graham! > >Is there possibly some settings to be made in your mail client, to allow >it to better separate your text from the text you are answering? I see >that you are using a html client while I - as a lot of other users - are >using text clients. As you can see from the attached text, it really is >hard to separate your text from Satish's. > >If nothing else is possible, maybe you may write GD: at the start of each >of your lines. I don't want to read the original questions multiple times, >just locate the answers and see if I'm satisfied, or if I maybe have some >more comments on the issue at hand. > >/Per W > >On Mon, 21 Jul 2003, Graham Douglas wrote: > > > >>Satish Medepalli wrote: >> >> Hello, >> >> I have the following requirement while creating objects.. I will try to >>explain it using a small example.. >> >> Suppose I have a class Student defined and I want to create objects of >>type Student inside the main function.. >> >> And say, the actual name with which i want to create the obect is >>stored in a character array at run time.. say i have the following >>statement >>char NAME[]=getName(); >> >>You can't do that, either >> >> and the above function is returning the name "JOHN" at run time. >> >> Now i want to get the name out of the character array and create the >>object using that particular name at run time.. i.e., >>Student JOHN; >> >> in a nutshell i want to give the name of the objects to be created at >>run time. IS THIS POSSIBLE?? IF SO CAN ANYONE HELP ME WITH THIS?? >> >>No, it's not and, like others I can't see a need. >> >> Thank You in advance. >>-Sateesh Medepalli >> >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |