码迷,mamicode.com
首页 >  
搜索关键字:fp    ( 907个结果
实验七
part1 ex1 更改后实验结果仍然正确 int main() { STU st, stmax, stmin; int i; FILE *fp; // 以只读文本方式打开文件file1.dat fp = fopen("file1.dat", "r"); if( !fp ) { // 如果打开失败, ...
分类:其他好文   时间:2019-12-28 11:27:35    阅读次数:68
C语言文件
任务一、二 #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { FILE *fp = fopen("loss.txt", "w"); if (fp == NULL){ printf("Failed to open ...
分类:编程语言   时间:2019-12-22 12:37:02    阅读次数:69
API收藏
1.百度图片api get 方法$word = '北海';//要搜索的词$num = 3;//要搜索的数量$url = 'https://image.baidu.com/search/acjson?tn=resultjson_com&ipn=rj&ct=201326592&is=&fp=result ...
分类:Windows程序   时间:2019-12-22 10:52:34    阅读次数:122
C语言文件
一.代码展示 include include include int main() { FILE fp; int i; char name[10][10] = { "小张.txt", "小李.txt", "小王.txt", "小赵.txt", "小刘.txt", "小许.txt", "小红.txt" ...
分类:编程语言   时间:2019-12-22 00:47:03    阅读次数:83
c语言文件
一、代码展示 #include<stdio.h> #include<string.h> #include<conio.h> #include<stdlib.h> int n; FILE* fp; void welcome();//欢迎界面函数 void inputinformation();//录入 ...
分类:编程语言   时间:2019-12-17 14:58:38    阅读次数:87
python之json读写
#将字典转json并写入文件 import json i=3 j=5 a={'a':i,'b':j} js=json.dumps(a) print(js) with open("/Users/binwang/Downloads/test/result.json", "w") as fp: fp.wr ...
分类:编程语言   时间:2019-12-13 12:21:02    阅读次数:74
SpringBot添加多数据源mysql的验证方法
packagecom.holytax.accenture_fp_in.datasource;importjavax.sql.DataSource;importorg.springframework.beans.factory.annotation.Qualifier;importorg.springframework.boot.autoconfigure.jdbc.DataSourceBuilde
分类:数据库   时间:2019-12-10 01:16:40    阅读次数:143
拿 C# 搞函数式编程 - 2
前一阵子在写 CPU,导致一直没有什么时间去做其他的事情,现在好不容易做完闲下来了,我又可以水文章了哈哈哈哈哈。 有关 FP 的类型部分我打算放到明年再讲,因为现有的 C# 虽然有一个 pattern matching expressions,但是没有 discriminated unions 和  ...
分类:Windows程序   时间:2019-12-09 01:48:01    阅读次数:144
PHP实现异步处理
两个文件:(1)brief.php主程序文件(2)doRequest.php需要异步处理的程序 brief.php: $url = 'localhost:8867'; echo 123; // 先输出,中间部分为异步处理程序 $fp = fsockopen($url,-1, $errno, $err ...
分类:Web程序   时间:2019-11-26 19:05:47    阅读次数:91
将float数字按照一定格式写入到文件中
/* float.c */ #include<stdio.h> #include<string.h> int main() { FILE *fp = fopen("Data.txt","w+"); float f[3][5] = {{-3.41, 5.63, 6, 7.8, 1.3}, {4.5 , ...
分类:其他好文   时间:2019-11-26 09:22:35    阅读次数:86
907条   上一页 1 ... 7 8 9 10 11 ... 91 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!