Home > Back-end >  How to debug C builder xe5
How to debug C builder xe5

Time:11-29

Wrote a simple computer program (simple calculator), but the calculating result is wrong, want to debug to tackle the problem, but the software just start, don't know how to debug,


Above is debugging buttons, know how to set breakpoints, step by step, but don't know how to set breakpoints after running to the breakpoint,

, every brother please give advice or comments, appreciated, and

I am the only is to use the software, the requirements of the project, so just started to learn this software,

To conclude my question: how to debug upper machine, in c + + builder hope bosses simple answer, right

CodePudding user response:

By the way, how variable is added to the debug window to look up real-time?

CodePudding user response:

You look to see the debug menu,

CodePudding user response:

The problem of CB in CB area may be better, or Delphi area, some will go to the elder CB area, this way may not necessarily come,

CodePudding user response:

Running the green triangle or press F9 (point), or the F4 (run to the cursor)

CodePudding user response:

Problems have been solved, at the time of execution in debue condition, as long as you set breakpoints can see the value of a variable, real-time (1: the cursor directly refers to the change amount, 2: speak variable is added to the watch name), thank you for your advice

CodePudding user response:

The original poster with which this book learning c + + Builder?

CodePudding user response:

Introduction to c + + builder instance

CodePudding user response:

People think that a few good:
"C + + Builder 6 program design course (second edition)" (such as loyal lu, wen-liang liu/2011-04-01/science press) (dangdang)
"C + + Builder 6 programming examples of fine solution" (Zhao Mingxian), PDF, is a digital version, a scan version, there is also a complete implementation of tetris game,
"Wonderful" c + + Builder 6 programming Wu Yixian (Taiwan), there are a few simple little game, 10 can read later rewrite, is their mastery of the,
"C + + Builder 5 senior programming examples of fine solution" (written by Liu Bin) are larger practical program,

C + + Builder 6.0 several sample program project source code download:






C + + Builder first program (analog chat room) v1.11
C + + Builder analog to digital double clock sample (unfinished) v0.2.1
C + + Builder card game Demo v0.03
C + + Builder of irregular image transparent texture (transparent display bitmap) three methods and simple animation v1.3
Written by c + + Builder "ZEC, arithmetic exercise program" sea starfish scene v0.9.2
C + + Builder simple example phone book Demo v1.11

CodePudding user response:

Thank you for your recommendation, I will have a look at these books to choose carefully
  • Related