会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
余~年
博客园
首页
新随笔
联系
订阅
管理
2020年2月6日
创建学生类,静态变量调用
摘要: #include "pch.h" #include <iostream> #include <string> using namespace std; //用于全局的命名 std int func(int a) { static int c = 2; //此处c会随着函数的多次调用而变化,即多次使用
阅读全文
posted @ 2020-02-06 12:07 余~年
阅读(258)
评论(0)
推荐(0)
公告