This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
对于有头文件的测例都会syntax error|Segmentation fault
#94
Answered
by
Yawningx
EayonWongJunyi
asked this question in
Q&A
-
测试时有设置环境变量,错误信息如下
把#include注释掉后则可以正常输出。 |
Beta Was this translation helpful? Give feedback.
Answered by
Yawningx
Apr 11, 2023
Replies: 1 comment 2 replies
-
使用clang时正常,应该不是环境的问题 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以观察一下头文件的内容,需要实现声明函数的语法,例如:
注意可能有新的数据类型(char;float···)/形参形式(int a[], ...)