代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/371500/9551381
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(char c)
{
static char tempstr[6];
www.eeworm.com/read/371500/9551395
c request.c
#include "calld.h"
int /* return 0 if OK, -1 on error */
request(Client *cliptr)
{
pid_t pid;
errmsg[0] = 0;
/* position where this client le
www.eeworm.com/read/371473/9552575
m stempsf.m
%
% Matlab file to plot the STEM probe profile
% this script calls stemhr.m
%
% started 27-feb-1997 E. Kirkland
% last modified 6-June-2006 DAM
%
npoints=400; % number of points in real spa
www.eeworm.com/read/175147/9557806
cpp mshowdoc.cpp
// MshowDoc.cpp : implementation of the CMshowDoc class
//
#include "stdafx.h"
#include "Mshow.h"
#include "MainFrm.h"
#include "MshowDoc.h"
#include "MshowView.h"
#include "math.h"
#i
www.eeworm.com/read/174991/9565662
cc cmu-trace.cc
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) 1997 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in sour
www.eeworm.com/read/174714/9575741
c jar2.c
#define d define
#d a include
#a
#a
#a
#d p char*
#d P ,(p)
#d T(E) !strcmp(E,"()")
#d U return
#d W while
#d X sbrk(199)
#d z atof
#d e isspace
#d D A(_)
#d E S(C(_))
#
www.eeworm.com/read/366428/9815490
m q45.m
%《MATLAB在电子信息课程中的应用》第四章第五节演示程序q45
% 字符串函数库
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
clear, echo on
s='abyzABYZ0189'
size(s)
abs(s)
setstr(abs(s))
dec2hex(abs(s))
s1=[' welcome ',s]
s2 =['a=5
www.eeworm.com/read/366144/9827834
m dumpsub.m
function dumpsub(s)
l = length(s);
for j = 1 : l
oline = sprintf('j = %d type = %s subs = ', j, s(j).type);
for k = 1 : length(s(j).subs)
if s(j).subs{k} == ':'
oline = [oline,'[
www.eeworm.com/read/366144/9828785
di test9.di
17:27:01.5 27-Aug-1999
-- >> % QMG test 9: an object like a hex nut with a triangular crack.
17:27:01.5 27-Aug-1999
-- >> % Make the brep 'from scratch'.
17:27:01.5 27-Aug-1999
-- >>
17:27:01.5
www.eeworm.com/read/365849/9844510
m pformat.m
function str=pformat(property)
% pformat v0.1 (2005-06-09 14:18)
%
% Formats the text output of a property value
% Used by the get/set functions, and will become private after the final
% version