会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liujipeng
博客园
首页
新随笔
联系
订阅
管理
2020年4月25日
C语言读取txt文件实例
摘要: 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年3月22日
虚拟机Ubuntu静态库和动态库的编程
摘要: 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)
公告