【求助】17.12版编写函数分文件时出错
codeblocks吧
全部回复
仅看楼主
level 2
莉莉丝days
楼主
小白自学中~今天在按教程写分文件时,报了如下的错误
把相同代码复制进dev-c++,能构建运行
想问问各位dalao是哪里出错了,谢谢
2020年08月01日 05点08分
1
level 2
莉莉丝days
楼主
还有一个,
int * p1 = nullptr; 报错
int * p1 = null; 报错
int * p1 = NULL; 正常
这个是咋回事
2020年08月01日 08点08分
2
莉莉丝days
error:'nullptr'/'null' was not declared in this scope
2020年08月01日 08点08分
♂Defter
是 p = nullptr ,不*p,而且小写的null是不行的,必须大写
2020年08月22日 16点08分
level 3
♂Defter
你这个我试了下,也能运行啊
2020年08月22日 16点08分
3
1