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

Linux下完成的一个作业程序

文档创建日期:2010-02-18
    01    // P173: 2.编程题 (5)输入一个字符串,统计英文字母、空格、数字和其他字符的个数。
    02   
    03    // The beginning of C program: test06-05.c.
    04   
    05    // Header files included.
    06    #include <stdio.h>
    07    #include <string.h>
    08   
    09    // Macro definition.
    10    #define MAX_SIZE 100
    11   
    12    // Main function's declaration.
    13    int  main ( void )
    14    {
    15        char   ch[MAX_SIZE];
    16        int    letter=0,  space=0,  number=0,  other=0,  i=0,  length=0;
    17        printf ( "Please input a line of characters: " );
    18        do
    19        {
    20            ch[i] = getchar();
    21            i++;
    22        } while ( ch[i-1] != '\n' );
    23        length = i-1;
    24        ch[length] = '\0';
    25        printf ( "The string length is: %d\n", strlen(ch) );
    26  &nbs


相关文档:

linux下的Android开发

下载 SDK
系统和软件需求
用Android sdk的代码和工具开发Android应用程序,你需要下面列出来的合适开发电脑和开发环境.
所需操作系统:
•Windows XP 或 Vista
•Mac OS X 10.4.8 或更高版本 (仅支持x86)
•Linux ( Linux Ubuntu Dapper Drake 版本已测试)
所需开发环境:
•Eclipse IDE
◦Ecli ......

linux 0.11 内核学习 bitmap.c


/*
 *  linux/fs/bitmap.c
 *
 *  (C) 1991  Linus Torvalds
 */
/* bitmap.c contains the code that handles the inode and block bitmaps */
#include <string.h>
#include <linux/sched.h>
#include <linux/kernel.h> // 一些内核常用函数的原形定义
......

linux 0.11 内核学习 inode.c


/*
 *  linux/fs/inode.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <string.h>
#include <sys/stat.h> // 文件状态头文件
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h> ......

转比较不错的linux视频讲座

V] 零起点学习Linux系列培训视频 -1 (寒冰作品)
http://www.boobooke.com/v/bbk1301
[V] 零起点学习Linux系列培训视频 -2 (寒冰作品)
http://www.boobooke.com/v/bbk1304
[V] 零起点学习Linux系列培训视频 -3 (寒冰作品)
http://www.boobooke.com/v/bbk1305
[V] 零起点学习Linux系列培训视频 -4 (寒冰作品)
......

增强Linux/Unix服务器系统安全性介绍


 众所周知,网络安全是一个非常重要的课题,而服务器是网络安全中最关键的环节。Linux被认为是一个比较安全的Internet服务器,作为一种开放源代码操作系统,一旦Linux系统中发现有安全漏洞,Internet上来自世界各地的志愿者会踊跃修补它。然而,系统管理员往往不能及时地得到信息并进行更正,这就给黑客以可乘之机。然而 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号