Click here to Skip to main content
14,300,956 members

C / C++ / MFC

 
AnswerRe: Win API or other? Pin
Victor Nijegorodov26-Jan-19 5:33
memberVictor Nijegorodov26-Jan-19 5:33 
AnswerRe: Win API or other? Pin
Joe Woodbury28-Jan-19 12:37
professionalJoe Woodbury28-Jan-19 12:37 
AnswerRe: Win API or other? Pin
leon de boer28-Jan-19 17:07
memberleon de boer28-Jan-19 17:07 
Questionc++ MS Word Pin
Member 1238494426-Jan-19 5:03
memberMember 1238494426-Jan-19 5:03 
AnswerRe: c++ MS Word Pin
jeron126-Jan-19 6:30
memberjeron126-Jan-19 6:30 
GeneralRe: c++ MS Word Pin
Member 1238494428-Jan-19 2:48
memberMember 1238494428-Jan-19 2:48 
AnswerRe: c++ MS Word Pin
Stefan_Lang28-Jan-19 2:11
memberStefan_Lang28-Jan-19 2:11 
QuestionHow to print all source code what was running? Pin
Member 1308136924-Jan-19 16:35
memberMember 1308136924-Jan-19 16:35 
When breaked at debugging, I can press F10, line by line to view the current execution of the source code. Suppose my program has 1000 lines of code,
I don't want to press F10 1000 times to watch all the 1000 line in the order of execution.
I wish output whole 1000 lines of code in execution order.
surce code like below:
id fun(int* piVal)
{
  *piVal = 0;
}

main()
{
  int iTemp = 0;
  fun();
  iTemp = 1;
}

I need a text file after running the program. The contents of the file are like below:
int iTemp = 0;
*piVal = 0;
iTemp = 1;

text file has 3 line, It exact save the three lines of execution.
AnswerRe: How to print all source code what was running? Pin
Victor Nijegorodov24-Jan-19 20:49
memberVictor Nijegorodov24-Jan-19 20:49 
GeneralRe: How to print all source code what was running? Pin
Member 1308136924-Jan-19 21:54
memberMember 1308136924-Jan-19 21:54 
GeneralRe: How to print all source code what was running? Pin
HS_C_Student26-Jan-19 4:06
memberHS_C_Student26-Jan-19 4:06 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 11:22
memberMember 1308136926-Jan-19 11:22 
AnswerRe: How to print all source code what was running? Pin
Richard MacCutchan24-Jan-19 22:12
protectorRichard MacCutchan24-Jan-19 22:12 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:24
memberMember 1308136925-Jan-19 4:24 
GeneralRe: How to print all source code what was running? Pin
Richard MacCutchan25-Jan-19 4:46
protectorRichard MacCutchan25-Jan-19 4:46 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 2:01
memberStefan_Lang28-Jan-19 2:01 
AnswerRe: How to print all source code what was running? Pin
Stefan_Lang25-Jan-19 3:29
memberStefan_Lang25-Jan-19 3:29 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:30
memberMember 1308136925-Jan-19 4:30 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:42
memberStefan_Lang28-Jan-19 0:42 
QuestionRe: How to print all source code what was running? Pin
David Crow25-Jan-19 4:44
memberDavid Crow25-Jan-19 4:44 
AnswerRe: How to print all source code what was running? Pin
k505425-Jan-19 6:31
memberk505425-Jan-19 6:31 
QuestionRe: How to print all source code what was running? Pin
David Crow25-Jan-19 6:46
memberDavid Crow25-Jan-19 6:46 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:51
memberMember 1308136925-Jan-19 13:51 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:52
memberStefan_Lang28-Jan-19 0:52 
AnswerRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:43
memberMember 1308136925-Jan-19 13:43 

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.