代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/202123/15390443
txt 基于k-l变换的人脸识别m代码.txt
% Karhunen-Loeve, for face recognition
% By Alex Chirokov, Alex.Chirokov@gmail.com
clear all;
% Load the ATT image set
k = 0;
for i=1:1:40
for j=1:1:10
filename = sprintf('C:\MA
www.eeworm.com/read/108778/15575597
h sprite.h
BITMAP *create_rle_sprite(char *file)
{FILE *fp;PCXHEAD pcx;
if((fp=fopen(file,"rb"))==NULL){
sprintf(grp_err,"Can't open Pcx file %s",file);
return FALSE;}
BITMAP *bitmap;int
www.eeworm.com/read/108778/15575611
h bmp.h
//显示256色BMP图像
BITMAP *load_bmp(char *name)
{ FILE *fp;
bmphead heard;
unsigned short width,height,heard_long;
if((fp=fopen(name,"rb"))==NULL){
sprintf(grp_err,"Can
www.eeworm.com/read/106963/15616564
cpp pathfinder2d.cpp
// PathFinder2D.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#include "stdio.h" //for sprintf
#include "mmsystem.h" //lib: winmm.lib, for play
www.eeworm.com/read/103960/15715758
c request.c
#include "opend.h"
#include
void
request(char *buf, int nread, int fd)
{
int newfd;
if (buf[nread-1] != 0) {
sprintf(errmsg, "request not null terminated: %*.*s\n",
nread, nr
www.eeworm.com/read/102760/15759512
c ini_file.c
#include
int get_ini ( char *item_name , char *var )
{
FILE *fp;
char path[300];
sprintf ( path , "%s/etc/nas.ini" , getenv("WORKDIR") );
if ( ( fp = fopen ( path , "r" ) ) ==
www.eeworm.com/read/102756/15759727
c ini_file.c
#include
int get_ini ( char *item_name , char *var )
{
FILE *fp;
char path[300];
sprintf ( path , "%s/etc/nas.ini" , getenv("WORKDIR") );
if ( ( fp = fopen ( path , "r" ) ) ==
www.eeworm.com/read/100585/15870769
c request.c
#include "opend.h"
#include
void
request(char *buf, int nread, int fd)
{
int newfd;
if (buf[nread-1] != 0) {
sprintf(errmsg, "request not null terminated: %*.*s\n",
nread, nr
www.eeworm.com/read/277944/10591757
c serial.c
#include "vxworks.h"
#include "stdio.h"
#include "ioLib.h"
#include "sioLib.h"
int fd;
char buf[100];
void OpenS(int num)
{
char tyName[20];
char consoleName[20];
sprintf (tyNam
www.eeworm.com/read/199841/7097730
c font.c
#include "nxlib.h"
#include
#include
char **_nxfontlist = 0;
int _nxfontcount = 0;
FILE *
_nxLoadFontDir(char *str)
{
char path[256];
sprintf(path, "%s/fonts.dir", str);
re