Author Topic: put to the line of error  (Read 4097 times)

Offline mikelouis

  • Single posting newcomer
  • *
  • Posts: 5
put to the line of error
« on: March 23, 2009, 12:08:51 am »
after compile the file, if there is some error, how to configure to locate the cursor where the first error?
thank you

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: put to the line of error
« Reply #1 on: March 23, 2009, 02:35:26 am »
which version do you use?
It is the default behavior in code::blocks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: put to the line of error
« Reply #2 on: March 23, 2009, 06:54:44 am »
which version do you use?
It is the default behavior in code::blocks.

That's the standard behaviour of C::B.

Make sure you have no special characters in the path (like accented chars, german umlauts ...).

Offline mikelouis

  • Single posting newcomer
  • *
  • Posts: 5
Re: put to the line of error
« Reply #3 on: March 23, 2009, 08:39:06 pm »
but when the special caracters in the comment?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: put to the line of error
« Reply #4 on: March 23, 2009, 09:30:50 pm »
Special chars inside the file should not matter (at least not in comments).