上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: 注:fwrite(),fread -可对数据块读写,且数据为二进制,文本下查看为乱码,文件的打开方式为 “b*” 实例: 写入二进制数据 for (int i = 0; i < SN; i++){ fwrite(&stds[i],sizeof(student),1,file); } 检测用fread 阅读全文
posted @ 2019-03-24 15:22 丨Kouch 阅读(1430) 评论(0) 推荐(0) 编辑
摘要: 原型:int fseek(FILE *stream, long int offset, int whence) 参数解释: FILE *stream - 文件流,要打开的文件指针 long int offset - 一个长整型数据类型 offset 表示偏移量,偏移字节数 int whence - 阅读全文
posted @ 2019-03-24 15:18 丨Kouch 阅读(1837) 评论(0) 推荐(0) 编辑
摘要: 1、fscanf & fprintf - 格式化读写 2、fwrite & fread - 二进制读写,数据块读写 3、fputs & fgets - 字符串读写 4、fputc & fgetc - 字符读写 阅读全文
posted @ 2019-03-24 14:33 丨Kouch 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 原型:int fputs(const char *str, FILE *stream) 参数解释: const char *str : const限制函数内部修改指针指向的数据(在函数形参使用const) char *str 字符数组 FILE *stream :stream 指向FILE对象的指针 阅读全文
posted @ 2019-03-24 14:10 丨Kouch 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 原型:errno_t fopen_s( FILE** pFile, const char *filename, const char *mode ); 例子: char *filePath="D:\\aaa.txt"; FILE *file; errno_t err; 【 errno_t 数据类型, 阅读全文
posted @ 2019-03-23 17:56 丨Kouch 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: 《信息领域热词分析》- 重构实现六种质量属性战术 功能解释: 后台通过数据爬取相关网页,MapReduce清洗处理提取有用的热词信息,利用hive&sqoop将数据转存到MySQL实现数据存储,方便实时性交互 前端使用混合app实现人机交互:搜索查看热词信息(解释,引用文章,关联热词),词云,打印热 阅读全文
posted @ 2019-03-22 10:51 丨Kouch 阅读(532) 评论(0) 推荐(0) 编辑
摘要: python编程方式 交互式 - python解释器 脚本编程 - .py文件 阅读全文
posted @ 2019-03-21 17:07 丨Kouch 阅读(118) 评论(0) 推荐(0) 编辑
摘要: package read.document; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; i 阅读全文
posted @ 2019-03-21 16:00 丨Kouch 阅读(3395) 评论(0) 推荐(0) 编辑
摘要: 目标:将word中数据转存到数据库 实质:数据的读写 难点:word文件格式的处理(识别,读取),/ 提取word有效的相关字段 实现: 1、基础了解:word(文字处理应用程序/文档工具)软件 word扩展名 - **.doc/**.docx() 【 扩展名(文件的后缀名) 作用:标志文件类型/文 阅读全文
posted @ 2019-03-21 11:25 丨Kouch 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 流程: 1、下载python3的tar/tgz,解压到制定目录 - 【这是源码,未编译过】 2、安装配置命令: 3、修改yum配置文件 把文件头部的#!/usr/bin/python改成#!/usr/bin/python2.7保存退出即可 4、测试安装情况(建立软连接?没有,输入python3后进入 阅读全文
posted @ 2019-03-20 21:02 丨Kouch 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页