代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/293555/7129089
c tst_sprintf.c
#include
void tst_sprintf (void) {
char buf [100];
int n;
int a,b;
float pi;
a = 123;
b = 456;
pi = 3.14159;
n = sprintf (buf, "%f\n", 1.1);
n += sprintf
www.eeworm.com/read/452710/7434791
c,v sprintf.c,v
head 1.1;
access;
symbols;
locks
dls:1.1; strict;
comment @ * @;
1.1
date 97.09.21.19.27.40; author dls; state Dist;
branches;
next ;
desc
@@
1.1
log
@pre-3e code
@
text
www.eeworm.com/read/436012/7779138
c sprintf_alloc.c
/* sprintf_alloc.c -- like sprintf with memory allocation
Carl D. Worth
Copyright (C) 2001 University of Southern California
This program is free software; you can redistribute it and/or m
www.eeworm.com/read/436012/7779165
h sprintf_alloc.h
/* sprintf_alloca.c -- like sprintf with memory allocation
Carl D. Worth
Copyright (C) 2001 University of Southern California
This program is free software; you can redistribute it and/or
www.eeworm.com/read/434003/7898082
c tn_sprintf.c
//----------------------------------------------------------------------------
//
// Derived from Dave Hylands & http://www.efgh.com/software/gprintf.htm
// code (public domain)
//
// The
www.eeworm.com/read/434003/7898128
c tn_sprintf.c
//----------------------------------------------------------------------------
//
// Derived from Dave Hylands & http://www.efgh.com/software/gprintf.htm
// code (public domain)
//
// The
www.eeworm.com/read/246953/12696108
c tst_sprintf.c
#include
void tst_sprintf (void) {
char buf [100];
int n;
int a,b;
float pi;
a = 123;
b = 456;
pi = 3.14159;
n = sprintf (buf, "%f\n", 1.1);
n += sprintf
www.eeworm.com/read/144361/12800664
c tst-sprintf.c
#include
#include
#include
int
main (void)
{
char buf[100];
int result = 0;
if (sprintf (buf, "%.0ls", L"foo") != 0
|| strlen (buf) != 0)
{
put
www.eeworm.com/read/140851/13058842
m sprintf_intvec.m
function s = sprintf_intvec(v)
% SPRINTF_INTVEC Print a vector of ints as comma separated string, with no trailing comma
% function s = sprintf_intvec(v)
%
% e.g., sprintf_intvec(1:3) returns '1,2