Previous Next
Editing the file

We'll now edit the file where the error occurs.

  1. Click on the method Set in line 17.
  2. Choose Show > Symbol(s) Set...
    The
    complex.C file is loaded and you are now positioned at the method complex::Set . As you can see the variable im is assigned the incorrect value.
  3. Fix the error by changing r to i .
  4. For the changes to take effect, choose File > Save.