[导入]总是会忘记的细节

%d,%ld,%x,%u,%s,%f

\0就是0,字符串以其结尾

Win中路径用\, 网络和Linux中路径用/

指针p加1,数值上加的是p指向的数据类型的大小。我在ubuntu里想强制转换指针类型,可惜失败了。直接(char *),还是(char *)(void *)都不行。

文章来源:http://blog.chinaunix.net/u2/88419/showart.php?id=1719908
原文地址:https://www.cnblogs.com/climberluoxi/p/1354772.html