易截截图软件、单文件、免安装、纯绿色、仅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 内核学习 block_dev.c


/*
 * 该文件的两个函数是为了向open和write函数提供接口,实现内核数据
 * 和用户数据的交互
 */
/*
 *  linux/fs/block_dev.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel ......

linux 0.11 内核学习 fcntl.c


/*
 *  linux/fs/fcntl.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <string.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#include <fcntl.h>
#include <sys/stat. ......

unbuntu linux bugzilla配置过程

在vm下安装unbuntu linux server 9.04
安装完成 查看IP地址 ifconfig
安装telnet sudo apt-get install xinetd telnetd
因为不需要太多人TELNET  暂时不做修改配置文件。
安装FTP sudo apt-get install vsftpd
同样不需要配置 使用默认的ftp:ftp用户访问
mysql
  sudo apt-get install mysql-server
apac ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号