⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printf.h

📁 实现了标准C语言库函数printf scanf功能
💻 H
字号:
/**************标准C语言库函数的实现**********************、
/*
 * Printf.h
 * Copyright (c) 2008 ,WuRen
 * Date:2008-04-25
 * V1.00
*/

#ifndef _INC_PRINTF
#define	_INC_PRINTF

#ifndef _INC_STDIO
#ifndef __stdio_h
#include "stdio.h"
#endif
#endif

#ifndef	_INC_STDLIB
#ifndef __stdlib_h
#include "stdlib.h"
#endif
#endif

#ifndef _INC_STDARG
#ifndef __stdarg_h
#include "stdarg.h"
#endif
#endif
#define PrintfPuts	GUI_DispString
#define ScanfGets	GUI_GetString

void GUI_GetString(char *string);
extern void Printf(char *fmt,...);

char	ScanfInput[256];
#define Scanf(x,y)	ScanfGets(ScanfInput);sscanf(ScanfInput,(x),(y));



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -