会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
祁东
自己有海,不赶浪潮 ~会者定离,一期一祈
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2021年10月7日
day-13 指针
摘要: 1. 二维数组与指针 *(a+i):一维数组的首地址 a+i:第 i 行的地址,即&a[i] &a+1:移动整个数组 a 的字节数 int ** Ptr <==> int Ptr[ x ][ y ]; int *Ptr[ 5 ] <==> int Ptr[ 5 ][ x ]; int ( *Ptr
阅读全文
posted @ 2021-10-07 22:18 祁东
阅读(17)
评论(0)
推荐(0)
编辑
day-13 代码
摘要: 获取系统时间 int main() { time_t now; struct tm local; while (1) { time(&now); localtime_s(&local, &now); cout.fill('0'); cout << local.tm_hour << ":"; cout
阅读全文
posted @ 2021-10-07 22:18 祁东
阅读(18)
评论(0)
推荐(0)
编辑