1. 首页
  2. 数据库
  3. 其它
  4. 构建C 实例类Infact.zip

构建C 实例类Infact.zip

上传者: 2021-04-23 11:09:17上传 ZIP文件 168.95KB 热度 7次
Infact 提供一个构建 C 实例的类,它的语法和 C 的很像,创建的对象可以用来封装其他对象,就像 C 那样。它支持通用的私有类型(bool、int、double、string)。示例代码:// Construct a cow with a required argument, its name. Cow c1 = Cow(name("Bessie")); // Construct a second cow with a different name, and an optional age. // Also, specifying a type is optional, si
下载地址
用户评论