摘要:
1 : #用来把参数转换成字符串#define P(A) printf("%s:%d\n",#A,A);int main(int argc, char **argv){ int a = 1, b = 2; P(a); P(b... 阅读全文
posted @ 2018-10-14 17:49
JadeCicada
阅读(228)
评论(0)
推荐(0)
摘要:
函数原型:size_t strftime (char* ptr, size_t maxsize, const char* format,const struct tm* timeptr );头文件: time.h#include 2 #include 3 4 i... 阅读全文
posted @ 2018-10-14 17:10
JadeCicada
阅读(178)
评论(0)
推荐(0)
摘要:
//头文件:#include //定义函数:char * getcwd(char * buf, size_t size); //函数说明:getcwd()会将当前的工作目录绝对路径复制到参数buf 所指的内存空间,参数size 为buf 的空间... 阅读全文
posted @ 2018-10-14 12:20
JadeCicada
阅读(372)
评论(0)
推荐(0)

浙公网安备 33010602011771号