这是我的示例代码,我的问题是如何在 UML 类图中编写 uint delay
,因为它是 typedef unsigned
------ ---------------------------------------------- --------------------------------我应该这样写吗? - delay : int
还是这种方式? - 延迟:uint
--------------------------------------
typedef unsigned int uint;
class MyBreakoutGameType : ...
{
public:
private:
uint delay;
};
最佳答案
关于c++ - 如何使用 typedef unsigned 在 UML 中编写数据属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39604917/