Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accesing protected function from another class [modified] Pin
The Other Brad Larsen27-Jun-06 17:36
The Other Brad Larsen27-Jun-06 17:36 
QuestionAppend a space to a string... Pin
Shrinaresh27-Jun-06 13:09
Shrinaresh27-Jun-06 13:09 
AnswerRe: Append a space to a string... Pin
Maximilien27-Jun-06 13:27
Maximilien27-Jun-06 13:27 
GeneralRe: Append a space to a string... Pin
Shrinaresh27-Jun-06 13:36
Shrinaresh27-Jun-06 13:36 
AnswerRe: Append a space to a string... Pin
Michael Dunn27-Jun-06 13:41
sitebuilderMichael Dunn27-Jun-06 13:41 
GeneralRe: Append a space to a string... Pin
Shrinaresh27-Jun-06 15:58
Shrinaresh27-Jun-06 15:58 
AnswerRe: Append a space to a string... Pin
Christian Graus27-Jun-06 13:42
protectorChristian Graus27-Jun-06 13:42 
AnswerThis is what I am trying to do... Pin
Shrinaresh27-Jun-06 16:08
Shrinaresh27-Jun-06 16:08 
When the application starts I send the initial directory as an argument...
so the command line is <exename> <rootdir>. now when the folders in the path contains space, it is recognized as more than one argument. The following code should help attach the arguments together... but the space is not being appended...
<br />
if (argc==1)<br />
	initpath[0]='\0';<br />
else {<br />
	strcpy(initpath, argv[1]);<br />
	for (i=2;i<argc;i++) {<br />
		strcat(initpath, argv[i]);<br />
		strcat(initpath, " ");<br />
	}<br />
}<br />

GeneralRe: This is what I am trying to do... Pin
Michael Dunn27-Jun-06 16:16
sitebuilderMichael Dunn27-Jun-06 16:16 
GeneralRe: This is what I am trying to do... Pin
Shrinaresh27-Jun-06 16:36
Shrinaresh27-Jun-06 16:36 
QuestionRe: This is what I am trying to do... Pin
David Crow28-Jun-06 7:33
David Crow28-Jun-06 7:33 
QuestionRe: Append a space to a string... Pin
David Crow28-Jun-06 6:15
David Crow28-Jun-06 6:15 
AnswerRe: Append a space to a string... Pin
Shrinaresh28-Jun-06 7:18
Shrinaresh28-Jun-06 7:18 
GeneralRe: Append a space to a string... Pin
David Crow28-Jun-06 7:34
David Crow28-Jun-06 7:34 
QuestionFile operations Pin
peruv27-Jun-06 13:08
peruv27-Jun-06 13:08 
QuestionRe: File operations Pin
David Crow28-Jun-06 6:17
David Crow28-Jun-06 6:17 
QuestionAt StartDoc obtain the current printer name Pin
pgibson00770027-Jun-06 12:07
pgibson00770027-Jun-06 12:07 
AnswerRe: At StartDoc obtain the current printer name Pin
Hamid_RT27-Jun-06 19:15
Hamid_RT27-Jun-06 19:15 
QuestionGood drawing tutorial for Vis C++ .NET Pin
sphereboy27-Jun-06 11:12
sphereboy27-Jun-06 11:12 
AnswerRe: Good drawing tutorial for Vis C++ .NET Pin
Andre xxxxxxx27-Jun-06 11:22
Andre xxxxxxx27-Jun-06 11:22 
GeneralRe: Good drawing tutorial for Vis C++ .NET Pin
sphereboy27-Jun-06 11:47
sphereboy27-Jun-06 11:47 
GeneralRe: Good drawing tutorial for Vis C++ .NET Pin
Andre xxxxxxx27-Jun-06 12:28
Andre xxxxxxx27-Jun-06 12:28 
NewsRe: Good drawing tutorial for Vis C++ .NET Pin
sphereboy27-Jun-06 12:47
sphereboy27-Jun-06 12:47 
GeneralRe: Good drawing tutorial for Vis C++ .NET Pin
Andre xxxxxxx27-Jun-06 12:54
Andre xxxxxxx27-Jun-06 12:54 
GeneralRe: Good drawing tutorial for Vis C++ .NET Pin
sphereboy29-Jun-06 9:25
sphereboy29-Jun-06 9:25 

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.