摘要: 1.1建立一个.c文件夹,我这里建立的是test1.c文件夹,输入如下代码。 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #define MAX_LINE 1024 5 int main() 6 { 7 cha 阅读全文
posted @ 2020-04-25 13:43 liujipeng 阅读(3832) 评论(0) 推荐(0)
摘要: 2020-03-22 一、不用库去执行,使用Makefile去实现。代码testcal.c Pow.c Pow.o cal.h。 Pow.c 1 int Pow (int x ,int y){ 2 int result=1; 3 int i=0; 4 for(i=0;i<y;i++) 5 { 6 r 阅读全文
posted @ 2020-03-22 10:44 liujipeng 阅读(720) 评论(0) 推荐(0)