Click here to Skip to main content
15,924,367 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why pure virtual function is needed Pin
Rick York22-Sep-05 21:00
mveRick York22-Sep-05 21:00 
AnswerRe: why pure virtual function is needed Pin
MailtoGops22-Sep-05 21:16
MailtoGops22-Sep-05 21:16 
AnswerRe: why pure virtual function is needed Pin
vikas amin23-Sep-05 2:12
vikas amin23-Sep-05 2:12 
Questionpointer to char array Pin
Rupali sarda22-Sep-05 19:48
Rupali sarda22-Sep-05 19:48 
AnswerRe: pointer to char array Pin
Calc2022-Sep-05 19:59
Calc2022-Sep-05 19:59 
AnswerRe: pointer to char array Pin
Cedric Moonen22-Sep-05 20:05
Cedric Moonen22-Sep-05 20:05 
AnswerRe: pointer to char array Pin
sunit522-Sep-05 20:12
sunit522-Sep-05 20:12 
AnswerRe: pointer to char array Pin
ThatsAlok22-Sep-05 22:52
ThatsAlok22-Sep-05 22:52 
Rupali sarda wrote:
have an private mem as char* author_name[30];
here is small program for you.....

void main()
{
	char *name[30];

	for(int i=0;i<2;i++)
	{
		name[i]=new char[30];
		cin>>name[i];
	}

	for(i=0;i<2;i++)
	{

		cout<<name[i];
		delete [] name[i];
	}
}



"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
GeneralRe: pointer to char array Pin
Eytukan22-Sep-05 23:03
Eytukan22-Sep-05 23:03 
QuestionHOW TO OVERRIDE SINGLE CLICK MESSAGE FOR AN EDIT BOX. Pin
rajeev8222-Sep-05 19:39
rajeev8222-Sep-05 19:39 
AnswerRe: HOW TO OVERRIDE SINGLE CLICK MESSAGE FOR AN EDIT BOX. Pin
Calc2022-Sep-05 19:56
Calc2022-Sep-05 19:56 
QuestionProcess Synchronization Pin
Steve Chang22-Sep-05 19:25
Steve Chang22-Sep-05 19:25 
QuestionVMR Sample compile error Pin
Cindy197822-Sep-05 18:36
Cindy197822-Sep-05 18:36 
QuestionAbout how to change paper size when you are about to print Pin
lionheart16322-Sep-05 16:19
lionheart16322-Sep-05 16:19 
Questionhelp in shape extraction from images Pin
bhamaimrith22-Sep-05 16:14
bhamaimrith22-Sep-05 16:14 
Questionhow do I print a string with &quot; &quot; &quot; in it Pin
Spiritofamerica22-Sep-05 14:08
Spiritofamerica22-Sep-05 14:08 
AnswerRe: how do I print a string with &quot; &quot; &quot; in it Pin
Shog922-Sep-05 14:26
sitebuilderShog922-Sep-05 14:26 
Questiontrim? Pin
kerrywes22-Sep-05 12:42
kerrywes22-Sep-05 12:42 
AnswerRe: trim? Pin
Chris Losinger22-Sep-05 13:39
professionalChris Losinger22-Sep-05 13:39 
AnswerRe: trim? Pin
Nemanja Trifunovic22-Sep-05 15:54
Nemanja Trifunovic22-Sep-05 15:54 
GeneralRe: trim? Pin
kerrywes22-Sep-05 17:10
kerrywes22-Sep-05 17:10 
GeneralRe: trim? Pin
Christian Graus22-Sep-05 17:13
protectorChristian Graus22-Sep-05 17:13 
GeneralRe: trim? Pin
Jose Lamas Rios22-Sep-05 18:26
Jose Lamas Rios22-Sep-05 18:26 
GeneralRe: trim? Pin
Christian Graus25-Sep-05 12:12
protectorChristian Graus25-Sep-05 12:12 
GeneralRe: trim? Pin
Jose Lamas Rios25-Sep-05 16:03
Jose Lamas Rios25-Sep-05 16:03 

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.