搜索资源列表
self_printf
- 实现printf功能的变长函数程序,适合初学者学习-achieve printf function of variable-length function procedures for beginners learning
ctime
- 在sco unix 下显示前n天或后n天日期的处理程序。 printf(\"功能: 时间戳与时间格式字符串的转换程序\\n\") printf(\" -i 输入的参数为时间戳\\n\") printf(\" -s 输入的参数为格式化时间\\n\") printf(\" -t 输入的时间取当前系统时间\\n\") printf(\" -x 输入的时间增加或减少的天数\\n\") printf(\" -o 输出的时间为时间戳格式\\n\") printf(\"
Debian Etch MIPS image for QEMU
- What is it? A generic stand-alone MIPS program that can do printf on a standard UART. requirements: . CPU has CP0 structure (r4k compatible) Configure: --------------Debian Etch MIPS image for QEMU -
log.rar
- 在Unix/Linux下C++编程,写日志文件是重要的调试手段。提供一个写log的类,用起来很方便。如log.logwrite("hello, s\n", somestring) 与printf函数一样的参数用法。,class of log to file, for C++ under Unix/Linux.
capture.rar
- //结构 struct fb_fix_screeninfo finfo struct fb_var_screeninfo vinfo //打开设备 fd = open["/dev/fb0", O_RDWR] if [!fd] { printf["Cannot open framebuffer device.\n"] exit[1] } //取得固定信息 if [ioctl[fd, FBIOGET_FSCREENIN
draw
- //获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //取得信息 width = vga_getxdim[] h
info
- //获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //获得当前的模式 mode = vga_getcurrentm
justforfun
- srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] +
yacc
- srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] +
print.tar
- linux下的printf函数实现,实现了部分功能-printf function under linux implementation, implementation of some functions
printf
- 本人参照linux 0.1内核源代码写的printf函数的实现,支持 c, s, o, d, x, f的打印输出-I am the light of linux 0.1 kernel source code to write to achieve the printf function in support of c, s, o, d, x, f print output
myprintf
- 自己用c语言实现的printf函数,可供大家参考。-linux
debug
- Linux 终端显示的缓冲是有限的(默认的显示几百行),所以如果我们程序printf行数较多,或者程序运行时间较长,难免有一些记录被冲掉,进而影响查看bug。特别是对随机的、少重现错错误,想通过屏幕上printf出来的数据调试,就难免困难一些,当然我们也可以使用重定向实现 程序>log.txt 但是这种方式,打印到文件上便不能显示到屏幕上了,所以有一定的局限性。 于是写了一个程序用意实现。 改程序有以下几个文件 Debug.c Debug.h
printer
- linux下串口打印机打印程序 在串口上使用程序进行小票打印机的打印-the serial printer to printf under linux
pp
- 输出 hello world 简单的一个linux程序-printf
debug
- linux环境下,我们一般借助printf打印醒目的字符方便程序调试,但是当程序调试通过以后发布时,有又不得不删掉这些打印语句。 示例代码中利用宏定义#define 解决了上述问题。-In linux, we generally debug a program by using "printf" fuction to print eye-catching character. But later when the program needs to be released, we have t
getIP-impro
- 本程序用户获取主机的IP地址和MAC地址,头文件与函数原型如下 #include "getIP.h" int get_ip(char *ipaddr, char *netmask, const char *ethname) #include "getIP.h" int get_mac(char *mac) 以下是get_ip函数简单使用范例 //定义IP和MAC所需要的存储空间 char ethname[] = "eth0" c
printk
- 没有库函数的环境下实现printf功能,在unix环境下实现-No library function under the environment of the printf function realization,In the Unix environment realized
printf.tar
- 基于开发板tiny210的printf设计与实现 主要是串口变成 shell实现第一步-基于开发板tiny210的printf设计与实现 主要是串口变成 shell实现第一步
printf-args
- Decomposed printf argument list.