Author Topic: Problem with building  (Read 1671 times)


  • Guest
Problem with building
« on: March 30, 2011, 07:47:53 am »
I had been using codeblocks and it worked just well. But one fine day i see that it doesn't compile the code that I have put in. I uninstalled codeblocks and reinstalled it again but the problem still persists ... it just wont build.
Please help me out I am in dire need of codeblocks now for I need to create lots of C++ programs.
Waiting for help...

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5242
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Problem with building
« Reply #1 on: March 30, 2011, 08:45:08 am »
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.