📜  创建结构数组 cpp - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.680000             🧑  作者: Mango

代码示例1
Customer::Customer(int id, string input_name): uid(id), name(input_name) {}
Customer customerRecords[2];
customerRecords[0] = Customer(25, "Bob Jones");
custoemrRecords[1] = Customer(26, "Jim Smith");