
C Examples
文章平均质量分 82
stoneandice
Hello
展开
-
Turbo C 的系统调用实例程序1
/****************程序环境 信号处理 实例tmp0.c ********************/ #include "stdio.h"#include "stdlib.h"#include "signal.h"void mysigint(int no) /* 自定义SIGINT信号处理 */{ printf("Users Interrupt %d-Signal calls./n原创 2006-02-11 19:51:00 · 1776 阅读 · 5 评论 -
温编译之故 知C语言之新
又学了一遍“编译原理”课程,文法、词法、语法、语义、优化……这次一串,可以在理解新技术的同时,利用温习老技术的悠闲中思考在C语言中的实例与联系,或有心得。 1. 类型的等价typedef int time_t;int tmp=1;time_t tm_system;tm_system = tmp; /* Assign int type to time_t type ?原创 2009-02-08 16:53:00 · 5003 阅读 · 2 评论 -
新版Hello World
改进Hello World,让其发挥其价值。原创 2011-01-23 16:23:00 · 674 阅读 · 0 评论