Click here to Skip to main content
15,907,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change exe path Pin
Randor 8-Feb-18 20:00
professional Randor 8-Feb-18 20:00 
Hi,

For debugging this... right click on your visual studio solution and click 'Properties'. Go down to 'Build Events' and add a 'Pre-Build Event' and add the following two lines:

echo Debugging Path: $(TargetPath)
echo Executable Path: $(OutDir)$(TargetName)$(TargetExt)


These should always be the same. The paths will be in your build output.

Follow the instructions given by Richard MacCutchan and only change the 'Output Directory' located in the 'General' property page. I have a feeling that you mistakenly changed the 'Linker->Output File'. If I am correct... change it back to the default value of '$(OutDir)$(TargetName)$(TargetExt)' and follow his instructions.

Best Wishes,
-David Delaune
GeneralRe: change exe path Pin
Richard MacCutchan8-Feb-18 22:41
mveRichard MacCutchan8-Feb-18 22:41 
QuestionWhat IDE do you use for C/C++ development? Pin
Davide Coppola6-Feb-18 23:31
Davide Coppola6-Feb-18 23:31 
AnswerRe: What IDE do you use for C/C++ development? Pin
CPallini6-Feb-18 23:49
mveCPallini6-Feb-18 23:49 
GeneralRe: What IDE do you use for C/C++ development? Pin
Davide Coppola6-Feb-18 23:52
Davide Coppola6-Feb-18 23:52 
QuestionRe: What IDE do you use for C/C++ development? Pin
CPallini7-Feb-18 0:00
mveCPallini7-Feb-18 0:00 
AnswerRe: What IDE do you use for C/C++ development? Pin
Davide Coppola7-Feb-18 0:14
Davide Coppola7-Feb-18 0:14 
AnswerRe: What IDE do you use for C/C++ development? Pin
Richard MacCutchan7-Feb-18 0:44
mveRichard MacCutchan7-Feb-18 0:44 
AnswerRe: What IDE do you use for C/C++ development? Pin
David Crow7-Feb-18 2:37
David Crow7-Feb-18 2:37 
GeneralRe: What IDE do you use for C/C++ development? Pin
Maximilien7-Feb-18 4:04
Maximilien7-Feb-18 4:04 
GeneralRe: What IDE do you use for C/C++ development? Pin
David Crow7-Feb-18 4:08
David Crow7-Feb-18 4:08 
GeneralRe: What IDE do you use for C/C++ development? Pin
jeron17-Feb-18 4:34
jeron17-Feb-18 4:34 
GeneralRe: What IDE do you use for C/C++ development? Pin
CPallini7-Feb-18 5:41
mveCPallini7-Feb-18 5:41 
GeneralRe: What IDE do you use for C/C++ development? Pin
Randor 8-Feb-18 20:29
professional Randor 8-Feb-18 20:29 
AnswerRe: What IDE do you use for C/C++ development? Pin
David Crow9-Feb-18 3:04
David Crow9-Feb-18 3:04 
GeneralRe: What IDE do you use for C/C++ development? Pin
Randor 9-Feb-18 9:37
professional Randor 9-Feb-18 9:37 
AnswerRe: What IDE do you use for C/C++ development? Pin
David Crow9-Feb-18 9:38
David Crow9-Feb-18 9:38 
GeneralRe: What IDE do you use for C/C++ development? Pin
Victor Nijegorodov8-Feb-18 10:33
Victor Nijegorodov8-Feb-18 10:33 
AnswerRe: What IDE do you use for C/C++ development? Pin
Joe Woodbury7-Feb-18 5:47
professionalJoe Woodbury7-Feb-18 5:47 
AnswerRe: What IDE do you use for C/C++ development? Pin
vishaljamdagni11-Feb-18 22:48
professionalvishaljamdagni11-Feb-18 22:48 
AnswerRe: What IDE do you use for C/C++ development? Pin
enhzflep24-Mar-18 13:07
enhzflep24-Mar-18 13:07 
QuestionRecommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
Tarun Jha4-Feb-18 9:28
Tarun Jha4-Feb-18 9:28 
AnswerRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
CPallini5-Feb-18 3:27
mveCPallini5-Feb-18 3:27 
SuggestionRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
David Crow5-Feb-18 5:44
David Crow5-Feb-18 5:44 
AnswerRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
Joe Woodbury6-Feb-18 6:16
professionalJoe Woodbury6-Feb-18 6:16 

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.