Saturday, June 21, 2014

What shall I learn in IDE?

Assumption:

You have started on the C/C++ program and already run a few tutorials from cplusplus.com, as discussed in Like-To-Learn-C++.

Objective:

Learn a few essential things with the IDE.


  1. create and run a C++ program.  If you did some tutorial, it is obviously you can do that.
  2. breakpoint and single step.  It is essential that a programmer can debug a program.  Many students do their debugging by printing to console.  It will work except that it is not effective at all.  Write a simple looping program (e.g. compute average) and practice single step will go a long way.
  3. examine variables.  While you're step through your code, figure out how to see the values of your variables (both global and local).  The combination of breakpoints and variable examination are the two fundamental debugging skills that every programmer shall have.
Those three things are the essentials.  Other IDE features, e.g. renaming a variable/procedure, are useful, but you can pick it up later.  No hurry.

No comments:

Post a Comment