- 博客(4)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 Java通过配置文件的方式存取数据记录
import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.util.Properties;public class test { private String m_config = "config/text.properties"; private Properties prop = null; private FileInputStream
2020-12-17 14:05:03 207
原创 简单多线程记录
public class test1{ public static void main(String[] args) { //查看三个线程运行情况 MyThread mt = new MyThread(); mt.start(); MyThread1 mt1 = new MyThread1(); mt1.start(); MyThread2 mt2 = new MyThread2(); ..
2020-12-17 13:49:26 80
原创 (小白记录)使用c语言在Excel里面追加数据
局部代码为:FILE *fp1; fp1=fopen("C:/Users/yf/Documents/Visual Studio 2010/Projects/ReadTime/ReadTime/ReadTime.xls","a+"); // fp指针指向文件头部 //fopen打开文件 fseek(fp1, 0, SEEK_END); //fseek指针定位到最后一个数据 if(fp1 == NULL) { printf("打开失败\n"); system("PAUSE");
2020-12-11 08:42:39 711
原创 小白记录:关于c语言读取excel文件后缀为.xls ,出现最后一个数为很大的负数问题,读取excel文件
xls文件如下效果图错误代码:int main(){ FILE *fp; int i,j ; int da[4][5] = {0} ;//这里错了 fp=fopen("C:/Users/yf/Documents/Visual Studio 2010/Projects/ReadTime/ReadTime/ReadTime.xls","r"); // fp指针指向文件头部 for(i = 0 ;i < 5 ; i++){ for(j = 0
2020-12-10 15:43:08 470
关于mongodb-src-rxxx版本是什么的问题
2021-06-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人