搜索资源列表
tubianli
- 图的遍历的演示(c 语言 数据结构课程设计题) /*定义图*/ typedef struct{ int V[M] int R[M][M] int vexnum }Graph /*创建图*/ void creatgraph(Graph *g,int n) { int i,j,r1,r2 g->vexnum=n /*顶点用i表示*/ for(i=1 i<=n i++) { g->V[i]=
log.rar
- 在Unix/Linux下C++编程,写日志文件是重要的调试手段。提供一个写log的类,用起来很方便。如log.logwrite("hello, s\n", somestring) 与printf函数一样的参数用法。,class of log to file, for C++ under Unix/Linux.
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
CustomDebug
- CDebug 提供调试窗口的功能,使用时添加代码 Debug.printf(...)。-CDebug class implements for Visual C++ more or less the functionality that Visual Basic provides, i.e. the posibility to insert into your C++ source code calls like Debug.printf(...), and watch the me
Linux-serial
- Linux 系统串口使用代码 /* * Program: serial.c * Author: Paul Dean * Version: 0.0.3 * Date: 2002-02-19 * Descr iption: To provide underlying serial port function, * for high level applications. * */ #include <termios.h>
zlog-latest-stable.tar
- zlog是一个高可靠性、性能、线程安全、灵活、概念清晰的纯C日志函数库。 事实上,在C的世界里面没有特别好的日志函数库(就像JAVA里面的的log4j,或者C++的 log4cxx)。C程序员都喜欢用自己的轮子。printf就是个挺好的轮子,但没办法通过配置改变 日志的格式或者输出文件。syslog是个系统级别的轮子,不过速度慢,而且功能比较单调。 所以我写了zlog。 zlog在效率、功能、安全性上大大超过了log4c,并且是用c写成的,具有比较好的通用性。 zlog有
printf.c
- Unix原版输出函数printf int printf(const char*, va_list) -Unix original output functions int printf(const char*, va_list)
MiniCRT
- 小型C语言运行库实现(printf,exit)-Small C language runtime implementation (printf, exit)
hello.c
- printf("hello") printf("hello") printf("hello") - printf("hello") printf("hello") printf("hello") printf("hello") printf("hello")
stringprintf
- Printf variants that place their output in a C++ string.Lower-level routine that takes a va_list and appends to a specified string. All other routines are just convenience wrappers around it.
statfs
- printf.c: Internal prom library printf facility.
xueshengchengji
- C语言学生成绩管理 printf( 第一门课程\t第二门课程\t第三门课程\n .2f\t .2f\t .2f\n ,n1/i,n2/i,n3/i) -C language student achievement management
day09.tar
- unix c语言高级环境编程,一些小例子仅供参考,主要是使用C程序访问环境变量,系统提供了一个全局变量(include <stdio.h> int main(void){ extern char **environ; int i=0; while(*(environ+i)!=NULL){ printf("%s\n",*(environ+i)); i++; } return 0; })
Myprintf
- 用putchar实现printf所有功能(using putchar() to achieve all feature of printf)
log
- 基于LINU X平台的日志模块实现,日志输出模块,功能如下: 1. 记录日志到文件,按日期和大小进行归档 2. 日志的输入格式和printf的格式相同 3. 支持对日志文件进行压缩(Logging module implementation)