设计模式DP-原型模式

#include <stdio.h> #include <string.h> #include <stdlib.h> // 定义抽象接口 typedef struct interface_t { struct interface_t *(*clone)(void *obj); void (*set)
posted @ 2024-03-28 15:03  starc再起航  阅读(1)  评论(0编辑  收藏  举报