码迷,mamicode.com
首页 >  
搜索关键字:留言板 flock fwrite fread fopen fclose    ( 2184个结果
matlab 写文件
fid = fopen('data.txt','w');for oo=1:1:i if mod(oo,10) == 0 fprintf(fid,'%f,%f,\n',sI1(oo),sQ1(oo)); else fprintf(fid,'%f,%f,',sI1(oo),sQ1(oo)); enden ...
分类:其他好文   时间:2018-07-23 17:23:27    阅读次数:130
PHP实现简单下载功能
PHP实现简单下载 文件为 ,供下载的文件为 . ...
分类:Web程序   时间:2018-07-23 11:01:12    阅读次数:199
6.2.13 简易留言板
留言板 简易留言板 --> 统计 ...
分类:其他好文   时间:2018-07-21 20:35:29    阅读次数:118
fopen和fopen_s用法的比较
open和fopen_s用法的比较 fopen 和 fopen_s fopen用法: fp = fopen(filename,"w")。 fopen_s用法:,须定义另外一个变量errno_t err,然后err = fopen_s(&fp,filename,"w")。 返回值: fopen打开文件 ...
分类:其他好文   时间:2018-07-20 16:49:23    阅读次数:126
详解PHP file_put_contents() 函数用法示例
今天春哥技术博客给大家讲解下PHP函数file_put_contents()的用法,示例,及注意事项。定义和用法file_put_contents()函数把一个字符串写入文件中。与依次调用fopen(),fwrite()以及fclose()功能一样。语法file_put_contents(file,data,mode,context)参数描述file必需。规定要写入数据的文件。如果文件不存在,则创
分类:Web程序   时间:2018-07-19 18:12:09    阅读次数:210
POJ - 3155 Hard Life
POJ-3155 一道裸的最大密度子图的题目。 代码: 1 #include<cstdio> 2 #include<cstring> 3 #include<queue> 4 using namespace std; 5 #define Fopen freopen("_in.txt","r",stdi ...
分类:其他好文   时间:2018-07-19 10:45:56    阅读次数:119
CodeForces Round #498 div3
A: 题目没读, 啥也不会的室友帮我写的。 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define Fopen freopen("_in.txt","r",stdin); freopen("_out.txt","w",stdout); 4 ...
分类:其他好文   时间:2018-07-18 11:52:14    阅读次数:236
PHP Rabbitmq 报错Broken pipe
fwrite(): send of 13 bytes failed with errno=32 Broken pipe fwrite(): send of 21 bytes failed with errno=104 Connection reset by peer 用 rabbitmq 做消息队列 ...
分类:Web程序   时间:2018-07-17 18:17:26    阅读次数:3260
loj117 有源汇有上下界最小流
link 题意&题解 code: 1 #include<bits/stdc++.h> 2 #define rep(i,x,y) for (int i=(x);i<=(y);i++) 3 #define ll long long 4 #define inf 1000000001 5 #define y ...
分类:其他好文   时间:2018-07-16 23:43:22    阅读次数:172
hihocoder#1384/北京网络赛2016 Genius ACM 归并排序+倍增
考虑固定l,每次查找符合的r,每次倍增长度p,用归并排序将后面的可行的部分归并进去,时间复杂度O(nlogn),不用读入挂就T了 1 /* *********************************************** 2 Author :BPM136 3 Created Time ...
分类:编程语言   时间:2018-07-15 19:50:11    阅读次数:466
2184条   上一页 1 ... 54 55 56 57 58 ... 219 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!