![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
TT不觉
今天天气不错
展开
-
xcode上编译c语言程序报错:ld: x duplicate symbol for architecture x86_64 clang: error: linker command failed
最近使用Xcode编译C语言程序,发现在多文件运行时总会有error提示:duplicate symbol _fp in: /Users/taiyoshimichi/Library/Developer/Xcode/DerivedData/C语言_13-gjzrgznjeglgthfzreqxzniqfjxr/Build/Intermediates/C语言_13.build/Debug/C语原创 2017-01-16 14:36:45 · 2533 阅读 · 0 评论 -
C语言数据对应的字节大小
16位编译器 char :1个字节 char*(即指针变量): 2个字节 short int : 2个字节 int: 2个字节 unsigned int : 2个字节 float: 4个字节 double: 8个字节 long: 4个字节 long long: 8个字节 unsigned long: 4个字节 32位编译器 char :1个字节 char*(即指针变量): 4个字原创 2017-01-17 08:44:49 · 5518 阅读 · 0 评论