Linux_C
亓天大圣是猴子吗
你只管努力就好...
展开
-
简单指针调着玩
#include<stdio.h> #include<iostream> voidswap(int**a,int**b){ int*tp=NULL; printf("*a==%lld,*b==%lld\n",*a,*b); tp=*a; printf("tp==%lld\n",tp); *a=...原创 2019-12-09 18:09:45 · 102 阅读 · 0 评论 -
十六进制字符串转十六进制数
static int tolow(int c) { if (c >= 'A' && c <= 'Z') { return c + 'a' - 'A'; } else { return c; } } static int htoi(char s[]) { int i; i...原创 2019-10-31 15:01:22 · 240 阅读 · 0 评论 -
Makefile小结
一、基础知识介绍 首先.h .c .cpp---->.i 其次.i—>.S 再是.S—>.o 这是分步解析GCC编译过程:hello.c ----->hello.i----->hello.S------>hello.o----->hello 编译单个程序时可以gcc -c 来进行编译,但是多个文件就发现并不能编译,所以就发现有makefile这个东西,他可...原创 2019-08-14 21:49:17 · 166 阅读 · 0 评论