代码搜索:fprintf
找到约 10,000 项符合「fprintf」的源代码
代码结果 10,000
www.eeworm.com/read/440070/7694996
c noise.c
/* nonlinear noise reduction */
/* Copyright (C) Marcus Richter and Thomas Schreiber (1997) */
#include
#include
#include
#include
#include
#defin
www.eeworm.com/read/439952/7696817
cpp print.cpp
#include"head.h"
void Print()
{//将文件CodeFile以紧凑格式显示在终端上,每行50个代码,同时将此字符形式的编码文件存入文件CodePrin中。
char c;
int n=0;
FILE *CodeFile,*CodePrin;
CodeFile=fopen("CodeFile","rb");
CodePrin=fopen("Code
www.eeworm.com/read/439667/7703621
cpp syntaxtree.cpp
#include
#include
#include "SyntaxTree.h"
char* tokenToString(TokenType type);
/*======================================================================*/
SyntaxTree::SyntaxTr
www.eeworm.com/read/439651/7704165
m soundsc01.m
[y, fs]=wavread('welcome.wav');
sound(y, fs);
fprintf('Press any key to continue...\n'); pause
soundsc(y, fs);
www.eeworm.com/read/439651/7704228
m switch01.m
for month = 1:12
switch month
case {3,4,5}
season = 'Spring';
case {6,7,8}
season = 'Summer';
case {9,10,11}
season = 'Autumn';
case {12,1,2}
season = 'Winter';
end
f
www.eeworm.com/read/439651/7704282
m deal01.m
myStruct = struct('name', {'Tim', 'Annie'}, 'age', {10, 13});
[myStruct.name] = deal('Roger', 'Sue');
fprintf('myStruct(1).name = %s\n', myStruct(1).name);
fprintf('myStruct(2).name = %s\n', my
www.eeworm.com/read/439651/7704334
m filewrite.m
function filewrite(cellStr, fileName);
%FILEWRITE Write a cell string to a file
% Roger Jang, 20020618
if nargin==0, selfdemo; return; end
fid = fopen(fileName, 'w');
if fid
www.eeworm.com/read/439651/7704359
m fileread.m
function contents = fileread(fileName);
%FILEREAD Read the contents of a file and put it into a cell string
% Roger Jang, 20010218
if nargin==0, selfdemo; return; end
fid = fopen(fileName);
www.eeworm.com/read/439570/7705984
c curvepolyfit.c
// curvepolyfit.c 曲线拟合
#include
#include "engine.h"
#include "mutil.h"
#define BUFFERLEN 1024
mxArray *CalculateFcn(mxArray *x,mxArray *y)
{
Engine *ep;
mxArray *equation;
www.eeworm.com/read/439570/7705985
c mutil.c
#include "mat.h"
mxArray *ReadArray(char *matfile,const *vname)
{
MATFile *mfp;
mxArray *out;
mfp=matOpen(matfile,"r");
if(mfp==(MATFile*)NULL)
{
fprintf(stderr,"错误:无法打开指定的MAT文件:'%s