代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/255755/12058305
m plotdg.m
%PLOTDG Plot dendrogram
%
% PLOTDG(DENDROGRAM,K)
%
% INPUT
% DENDROGRAM Dendrogram
% K Number of clusters
%
% OUTPUT
%
% DESCRIPTION
% Plots a dendrogram as generated by HCLUST. If th
www.eeworm.com/read/152951/12072988
c joindump.c
/* Program to join split files */
#include
void
main(int argc, char **argv)
{
FILE *f, *out, *hf;
int i;
char name[256];
char tmp[256], host[256];
int n;
char buf[4096];
www.eeworm.com/read/152439/12113801
m saveinr.m
%SAVEINR Write an INRIMAGE format file
%
% SAVEINR(filename, im)
%
% Saves the specified image array in a INRIA image format file.
%
% SEE ALSO: loadinr
%
% Copyright (c) Peter Corke, 1999 Ma
www.eeworm.com/read/151715/12179437
c filemon.c
//======================================================================
//
// FILEMON.c - main module for VxD FILEMON
//
// SysInternals - www.sysinternals.com
// Copyright (C) 1996-2000 Mark Ru
www.eeworm.com/read/151555/12201509
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/151555/12201652
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 =
www.eeworm.com/read/339620/12217283
m saveinr.m
%SAVEINR Write an INRIMAGE format file
%
% SAVEINR(filename, im)
%
% Saves the specified image array in a INRIA image format file.
%
% SEE ALSO: loadinr
%
% Copyright (c) Peter Corke, 1999 Ma
www.eeworm.com/read/253405/12225980
c ctlstr.c
#include "calld.h"
/*
* Make a printable string of the character "c", which may be a
* control character. Works only with ASCII.
*/
char *
ctl_str(unsigned char c)
{
static char tempstr[6]; /*
www.eeworm.com/read/253405/12226003
c request.c
#include "calld.h"
int /* return 0 if OK, -1 on error */
request(Client *cliptr)
{
pid_t pid;
/*
* Position where this client left off last (or rewind).
*/
errmsg[0] = 0;
sys_posn(clip
www.eeworm.com/read/339483/12230760
sh ex47.sh
#!/bin/bash
# printf demo
PI=3.14159265358979
DecimalConstant=31373
Message1="Greetings,"
Message2="Earthling."
echo
printf "Pi to 2 decimal places = %1.2f" $PI
echo
printf "Pi to 9 decimal places