Author Topic: Load class  (Read 4695 times)

Offline kunlamp

  • Single posting newcomer
  • *
  • Posts: 3
Load class
« on: May 11, 2010, 04:45:04 pm »
Hi , I just create a project Test,  and create  a class TData, But after i close Code ::blocks  ,and run the code::blocks again.

I can't include the class TData . I don't not why ,The TData class does exist in the project Test. Why the compiler  say's  it can't find the TData??

can  anyone help me . Thanks in advance.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Load class
« Reply #1 on: May 11, 2010, 05:19:47 pm »
OS? version? codeblocks version???

What is the exact steps to reproduce this bug???
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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Load class
« Reply #2 on: May 11, 2010, 10:51:41 pm »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline kunlamp

  • Single posting newcomer
  • *
  • Posts: 3
Re: Load class
« Reply #3 on: May 12, 2010, 03:47:18 am »
I did not select the right project.
  when i open it again ,it work's.

Offline kunlamp

  • Single posting newcomer
  • *
  • Posts: 3
Re: Load class
« Reply #4 on: May 12, 2010, 03:55:33 am »
would you give me some document so i can know how to debug in codeblocks,  I did't use codeblocks before,and don't know to debug .

I add beakpoint but it did not stop at where i set BP, So i'm a little confused.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Load class
« Reply #5 on: May 12, 2010, 10:58:39 am »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]