遇到namespace #16
ipanda555
started this conversation in
Cpp in VSCode on macOS
Replies: 1 comment
-
(帮你格式化了一下代码) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在学习C++语法时,学到命名空间时,发现在hpp文件里,只要加入除了声明函数之外的东西就会报错,比如:
这样会报错,我尝试去写:
同样会报错,但是只要把除了函数定义之外的都删除,他就不回报错,这是VScode的什么问题吗?之前的VS就不会报错
Beta Was this translation helpful? Give feedback.
All reactions