没有合适的资源?快使用搜索试试~ 我知道了~
c++ typedef 两种格式应用例子
资源详情
资源评论
资源推荐
c++typedef 应用
//格式 1
#include <iostream.h>
struct time
{
int minuter;
int sec;
}t1={1,2};
typedef struct time my_time;
void main()
{
my_time t2={1,2};
cout<<t1.minuter <<", "<<t1.sec <<endl;
}
/*
//格式 2
#include <iostream.h>
typedef struct stru_time
{
int minuter;
int sec;
}my_time;
void main()
{
my_time t1={13,14};
cout<<t1.minuter <<", "<<t1.sec <<endl;
}
*/
huangws138
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 蓝桥杯2024年第十五届省赛真题-前缀总分
- com.qihoo.appstore_300101305-1.apk
- tensorflow-gpu-2.7.1-cp37-cp37m-manylinux2010-x86-64.whl
- tensorflow-2.7.2-cp37-cp37m-manylinux2010-x86-64.whl
- tensorflow-2.7.1-cp39-cp39-manylinux2010-x86-64.whl
- 蓝桥杯2024年第十五届省赛真题-传送阵
- com.qihoo.appstore_300101305.apk
- linux之线程同步一.doc
- keil5配色方案10种
- python烟花代码.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0