代码搜索:fprintf
找到约 10,000 项符合「fprintf」的源代码
代码结果 10,000
www.eeworm.com/read/451691/7458153
m untitledshuzhiwending.m
fprintf('数值稳定算法;\n')
y0=0.5*(1/(6*21)+1/(5*21)); %给出初值y0;
n=20;
plot(n,y0,'r*'); %画出n与y0的图示;
hold on
fprintf('y[20]=%10.6f\n',y0); %输出y的值;
while(1)
y1=0.2*(1/n-y0);
www.eeworm.com/read/451329/7467057
c ferror.c
#include
#include
void main (int argc, char *argv[])
{
FILE *fp;
char line[256];
if (fp = fopen(argv[1], "r"))
{
while (fgets(line, sizeof(lin
www.eeworm.com/read/451329/7467317
c no_redir.c
#include
#include
void main (void)
{
union REGS inregs, outregs;
// check the stdin handle first
inregs.x.ax = 0x4400;
inregs.x.bx = 0; // stdin
www.eeworm.com/read/450807/7476512
cpp test.cpp
#include "stdio.h"
#include "stdlib.h"
#include "time.h"
void main()
{
int i,t;
FILE *fp=fopen("G:\\data.txt","w");
srand( (unsigned)time(NULL) );
for( i=0; i
www.eeworm.com/read/450798/7476627
c 读写文本文件.c
#include "stdio.h"
void main()
{
FILE *funny,*printer,*fp;
char c;
funny = fopen("TENLINES.TXT","r"); /*打开文本文件 */
printer = fopen("PRN","w"); /*开启打印机*/
fp = fopen("weew.
www.eeworm.com/read/450608/7480131
m disperror.m
%DISPERROR Display error matrix with information on classifiers and datasets
%
% DISPERROR(DATA,CLASSF,ERROR,STD,FID)
%
% INPUT
% DATA Cell array of M datasets or dataset names (strings)
% CLAS
www.eeworm.com/read/450608/7480584
m confmat.m
%CONFMAT Construct confusion matrix
%
% [C,NE,LABLIST] = CONFMAT(LAB1,LAB2,METHOD,FID)
%
% INPUT
% LAB1 Set of labels
% LAB2 Set of labels
% METHOD 'count' (default) to count n
www.eeworm.com/read/450572/7480904
c output.c
/*本模块用于负责接收输入请求*/
//声明该变量在其他文件中已经定义
#include
#include "type.h"
void output(struct STUDENT * cPtr)
{
long int i;
FILE * cfPtr=NULL;
if( (cfPtr=fopen("data.txt"
www.eeworm.com/read/450497/7482941
txt ga_optimal_example.txt
p=[1.5/7 1/5 1.5/7;
1.5/7 4/5 5/7;
3/7 1/5 3/7;
3/7 2/5 5/7;
5/7 1/5 5/7;
5/7 2/5 1.5/7;
5/7 4/5 3/7
]';
t=[1621.7/4000;1790.1/4000;1932.6/4000;2123.7/4000;
www.eeworm.com/read/450470/7483255
c ferror.c
#include
#include
void main (int argc, char *argv[])
{
FILE *fp;
char line[256];
if (fp = fopen(argv[1], "r"))
{
while (fgets(line, sizeof(lin