constraintmap.cpp.svn-base

来自「QT方面的开发」· SVN-BASE 代码 · 共 17 行

SVN-BASE
17
字号
#include "constraintmap.h"ConstraintMap map; /* Okay, ConstraintMap is already included. *//* redundant but harmless if #ifndef wrapped. */#include "constraintmap.h"Constraint * constraintP;  /* Using forward declaration from constraintmap.h. */// Constraint p;     /* error: incomplete type. */ #include <constraint.h>    Constraint q;        /* Now it is a complete type. */void ConstraintMap::addConstraint(Constraint& c) {    cout << c.name(); /* complete type required here */ }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?