September 4th Tuesday (九月 四日 火曜日)

来源:互联网 发布:ff14好看的捏脸数据 编辑:程序博客网 时间:2024/04/29 09:48
  Today I found what result in the yesterday bug.

#ifdef _SPLITTER_WINDOW_H_
#define _SPLITTER_WINDOW_H_

...

  The preprocess macro caused the bug.  The first time a file included the header file, it did not find a defined "_SPLITTER_WINDOW_H_",
so the class is not compiled.  Therefore, the compiler reported a illegal class error.  The correct is following.

#ifndef _SPLITTER_WINDOW_H_
#define _SPLITTER_WINDOW_H_

...

  Today I also finished the server panel of my kiang.  I have to have a rest, coding GUI is so hard.