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实现简单下载 文件为 ,供下载的文件为 . ...
                            
                            
                                分类:
Web程序   时间:
2018-07-23 11:01:12   
                                阅读次数:
199
                             
                         
                    
                        
                            
                            
                                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()的用法,示例,及注意事项。定义和用法file_put_contents()函数把一个字符串写入文件中。与依次调用fopen(),fwrite()以及fclose()功能一样。语法file_put_contents(file,data,mode,context)参数描述file必需。规定要写入数据的文件。如果文件不存在,则创
                            
                            
                                分类:
Web程序   时间:
2018-07-19 18:12:09   
                                阅读次数:
210
                             
                         
                    
                        
                            
                            
                                    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
                             
                         
                    
                        
                            
                            
                                    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
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                    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
                             
                         
                    
                        
                            
                            
                                考虑固定l,每次查找符合的r,每次倍增长度p,用归并排序将后面的可行的部分归并进去,时间复杂度O(nlogn),不用读入挂就T了 1 /* *********************************************** 2 Author :BPM136 3 Created Time  ...
                            
                            
                                分类:
编程语言   时间:
2018-07-15 19:50:11   
                                阅读次数:
466