易截截图软件、单文件、免安装、纯绿色、仅160KB

RedHat Linux下独立完成的一个作业

【文档创建日期:2010-05-30】
   001  // P122: 三、上机题 3
   002
   003  // test03-03.c
   004
   005  // Header files included.
   006  #include <stdio.h>
   007  #include <stdlib.h>
   008  #include <string.h>
   009
   010  #include <sys/types.h>
   011  #include <sys/stat.h>
   012  #include <fcntl.h>
   013  #include <unistd.h>
   014
   015  // Conditional compilation.
   016  #ifndef  _MAX_DATA_TYPE_
   017  #define  _MAX_DATA_TYPE_
   018
   019      // Macro definition.
   020      #define  MAXSIZE   1000
   021      #define  BUFFSIZE  10
   022
   023  #endif  // #define  _MAX_DATA_TYPE_
   024
   025  #ifndef  _DISTANCE_DATA_TYPE_
   026  #define  _DISTANCE_DATA_TYPE_
   027
   028      // Macro definition.
   029      #define  DIST  0
   030
   031  #endif  // #define  _DISTANCE_DATA_TYPE_
   032
   033  // No.1: Subroutine:
   034  void  char_convert ( char *data, const unsigned int datasize )
   035  {
   036      unsigned int    i = 0;
   037
   038    &n


相关文档:

times(2) Linux man page

Name
times - get process times
Synopsis
#include <sys/times.h>
clock_t times(struct tms *buf);
Description
times() stores the current process times in the
struct tms that buf points to. The struct tms is as defined
in <sys/times.h>
:
struct tms {
clock_t tms_utime; /* us ......

GNU/Linux 开发环境 (2)


继续谈谈其它语言的开发。
3.2) 动态语言
这里指的是包括脚本语言,解释型语言在内的编程语言,例如Java,Perl,Python,PHP,JavaScript,Ruby,Shell Script,等等。
从开发环境角度看,动态语言都有自己的运行环境,而且通常都是跨平台的。因此,编写代码,调试运行则完全可以在自己的环境中完成,只是大多是命令行 ......

linux内核读书笔记(进程数据结构分析)一

include/linux/sched.h
384   struct task_struct {
385     volatile long state;
386     struct thread_info *thread_info;
387     atomic_t usage;
388     unsigned long flags; 
389   &nbs ......

Linux 下消除netbeans字体锯齿

编辑
$netbeans_home/etc/netbeans.conf,在"netbeans_default_options"项中添加"-J-
Dawt.useSystemAAFontSettings=on --fontsize=12"
p.s:让所有的Java程序都使用反锯
齿: export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
------------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号