V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lazyhare  ›  全部回复第 1 页 / 共 1 页
回复总数  6
2019-10-09 18:28:13 +08:00
回复了 zzmissu 创建的主题 职场话题 离职了不要离职证明问题严重吗?
哪个公司?报一下别让后来的同学掉坑里。
2019-03-25 12:49:57 +08:00
回复了 shallyy 创建的主题 生活 三线城市上车月供 12k 心慌慌
@cjpjxjx 台湾工资二十年不涨了。。
2019-03-22 18:42:00 +08:00
回复了 wuhongwei 创建的主题 Ubuntu ubuntu 救助
这个版本很垃圾不要用,如果非要用 Ubuntu 换 16.04
2019-03-18 11:33:56 +08:00
回复了 Ghands 创建的主题 Linux 为什么 Tecent 不对微信进行 Linux 系统支持,甚至对第三方打压
@Linxing 老哥怎么实现
2017-01-19 09:38:12 +08:00
回复了 borischenc 创建的主题 C [c++新手问题] redefinition of default argument 报错应该如何解决
顺手给你加个引用"The distinction between a declaration and a definition may seem obscure at this
point but is actually important. To use a variable in more than one file requires
declarations that are separate from the variable ’ s definition. To use the same variable
in multiple files, we must define that variable in one — and only one — file. Other files
that use that variable must declare — but not define — that variable."

example:
"extern double pi = 3.1416; // definition"

详见<C++ Primer 5th> "2.2.2. Variable Declarations and Definitions"
2017-01-19 09:32:20 +08:00
回复了 borischenc 创建的主题 C [c++新手问题] redefinition of default argument 报错应该如何解决
extern 后面有初始化就算是定义了, extern 失去意义了。再从其它地方定义 print_tree 当然就算 redefine 了
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1352 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 17:32 · PVG 01:32 · LAX 10:32 · JFK 13:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.