
C
BasilGuo
We reject: kings, presidents, and voting. We believe in: rough consensus and running code
展开
-
An Introduction To GCC-for the GNU Compilers gcc and g++(GCC 简介)
GCC 简介原创 2020-05-24 15:48:48 · 397 阅读 · 0 评论 -
Linux下C Socket编程基础API
Linux环境下使用C语言进行Socket编程将会使用到的函数和数据结构小结。原创 2020-03-24 22:03:25 · 481 阅读 · 1 评论 -
混合使用C和C++
混合使用C和C++总述问题使用参考最近在看项目代码,经常看到header file中,开头:#ifdef __cplusplusextern "C" {#endif /* __cplusplus */结尾:#ifdef __cplusplus}#endif /* __cplusplus */中间包裹: includes,typedefs,以及function prototyp...原创 2020-03-14 10:24:51 · 3381 阅读 · 1 评论 -
C语言预处理指令
C语言预处理指令解释,经常用到的,#include、#define、#undef、#ifdef、#ifndef、#endif、#if、#elif、#else原创 2020-01-08 20:15:30 · 480 阅读 · 0 评论 -
C语言基础知识(自用)
创建数组数据类型 数组名[数组长度];获取数组长度length = sizeof(数组名);原创 2018-05-01 14:23:30 · 696 阅读 · 0 评论 -
VS2017#include "xxx.h"
在学习使用vs编辑C++代码,目前需要 记录下如何#include myHeaders.h...#include myHeaders.h...这个是需要设置包含目录:项目 右键》属性》配置属性》VC++目录》包含目录》把myHeaders.h所在的文件夹加入进来即可。 PS:果然还是Google强大,StackOverflow了解一下 参考: https://stackov...原创 2018-07-21 00:04:50 · 3496 阅读 · 0 评论