代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/319335/13453585
m callcheck.m
function callcheck(htext,str1,z,vchk1,vchk2)
cla,set(htext,'string',[str1,sprintf('%1.4g\',z)]); %
dt=0.1;t=0:dt:15;N=length(t);y=step(1,[1 2*z 1],t);plot(t,y);
if vchk1 %
www.eeworm.com/read/319335/13453807
m exm041422_1.m
G=6.672e-11;ME=5.97e24;vy0=4000; x0=-4.2e7;t0=0;tf=60*60*24*9;
tspan=[t0,tf];Y0=[x0;0;0;vy0];
[t,YY,Te,Ye,Ie]=ode45('DYDt3',[],[],[],G,ME,tspan,Y0); %
X=YY(:,1);Y=YY(:,2);
plot(X,Y,'b','Linew
www.eeworm.com/read/318614/13474641
cpp w.cpp
#include
struct s
{
char a[20];
char a2[8];
char a3[12];
char a4[12];
};
void main()
{
/*char buff[5];
for(int i=0;i
www.eeworm.com/read/318125/13487799
cpp mfcprjview.cpp
// mfcprjView.cpp : implementation of the CMfcprjView class
//
#include "stdafx.h"
#include "mfcprj.h"
#include "mfcprjDoc.h"
#include "mfcprjView.h"
#include "matlab.h"
#ifdef _DEBUG
#d
www.eeworm.com/read/317818/13496887
c sh307.c
#include
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit P1_0=P1^0;
void INITIAL(void);
www.eeworm.com/read/317818/13496915
c keystate.c
#include
#include
#include
/* define variable type */
#define uchar unsigned char
void INITIAL(void); /*液晶显示初始化*/
void CLEAR(void);
www.eeworm.com/read/316414/13523334
m zoomer.m
function zoomer
% ZOOMER Avoid duplicate xtick and ytick labels.
% Do not call directly, instead:
% set(zoom(gcf),'ActionPostCallback','zoomer')
reltol = .005;
xlim = get(gca,'xlim');
if d
www.eeworm.com/read/315177/13549215
c debug.c
/*
Copyright 2006-2008, V.
For contact information, see http://winaoe.org/
This file is part of WinAoE.
WinAoE is free software: you can redistribute it and/or modify
it under the t
www.eeworm.com/read/311447/13630878
m shownsct.m
function displayIm = shownsct( y )
% SHOWNSSC Show nonsubsampled Contourlet transform coefficients.
%
% shownsct(y)
% Input:
% y: a cell vector of length n+1, one for each layer of
% subban
www.eeworm.com/read/311209/13633851
c comlib.c
/*自己的函数*/
unsigned char * changeHiLow(unsigned char *ptr)
{
unsigned char temp[2];
temp[0]=*(ptr+1);
temp[1]=*(ptr);
*(ptr+0)=temp[0];
*(ptr+1)=temp[1];
return (ptr);
}
int m