代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/260910/11687307
m choose.m
function choose;
disp(sprintf(' What can I do for you? '));
disp(sprintf(' Choose 1 to coach the system.'));
disp(sprintf(' Choose 2 to identify the intrut
www.eeworm.com/read/157384/11714965
c hexdump.c
/*
* Copyright (C) 1998 Mark Baysinger (mbaysing@ucsd.edu)
* Copyright (C) 1998,1999 Ross Combs (rocombs@cs.nmsu.edu)
* Copyright (C) 2004 Donny Redmond (dredmond@linuxmail.org)
*
* This progr
www.eeworm.com/read/156874/11758055
txt 10-41.txt
%例10-41 运行错误的处理。
%编制M文件如下。
function d=yunxingcuowu(a,b,c)
d=a/b;
if isinf(d) %对可能产生的inf值做出判断
sprintf('b should not be 0')
return
else
d=d*c;
end
%为了检验该程序,
www.eeworm.com/read/259759/11766548
cpp func.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/259759/11766821
cpp func.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/259759/11766864
cpp func.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/259759/11766931
cpp func.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/259759/11766961
cpp func.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/155568/11863029
m flame.m
function flame
% FLAME A stiff ordinary differential equation.
% A ball of fire grows until its radius is just large enough that all of
% the oxygen available through the surface is consumed by co
www.eeworm.com/read/155568/11863157
m goldfract.m
function goldfract(n)
%GOLDFRACT Golden ratio continued fraction.
% GOLDFRACT(n) displays n terms.
p = '1';
for k = 1:n
p = ['1+1/(' p ')'];
end
p
p = 1;
q = 1;
for k = 1:n
s =