上一页 1 ··· 314 315 316 317 318 319 320 321 322 ··· 329 下一页
摘要: 2008中国国际软件产业高峰论坛昨在蓉举行 稿件来源:成都日报 2008-4-18 3:25:33 昨日上午9时30分,第六届中国国际软件合作洽谈会开幕式暨2008中国国际软件产业高峰论坛在成都世纪城娇子国际会议中心隆重举行。副市长白刚作了首个演讲。微软、甲骨文、东软、用友、富士通、惠普等国内外软件巨头的相关负责人就当前软件业的热点话题进行了探讨,他们... 阅读全文
posted @ 2008-04-24 19:36 emanlee 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 以下的例题和习题要求掌握。 第1章 概述 2学时 第2章 基本数据类型、运算符及表达式 2学时 习题:2.7, 2.8, 2.11, 2.12, 2.13, 2.14, 2.15 第3章 基本结构程序设计 8学时 例题: 例3.3, 例3.4, 例3.9, 例3.11, 例3.12, 例3.14, 例3... 阅读全文
posted @ 2008-04-22 22:39 emanlee 阅读(661) 评论(0) 推荐(0) 编辑
摘要: C语言程序设计-课程实施细则 课程学时:36+20教材:《C语言程序设计教程》 西安交通大学出版社 张毅坤 等编著实验指导书: 《C语言程序设计教程学习指南与实验指导》 西安交通大学出版社 张毅坤 等编著金花校区东门口书店有售。第1章 概述 2学时1.1程序与程序设计语言1.2C程序设计语言入门1.3C语言的特点 本章重点讲解C程序的基本组成和程序编辑、编译、连接、执行的过程,其余内容可以作为自... 阅读全文
posted @ 2008-04-21 08:43 emanlee 阅读(633) 评论(0) 推荐(0) 编辑
摘要: /* 6.9 10个学生,每个学生3门课程成绩,求平均分及前五名 */ #include "stdio.h"#include "conio.h"#define N 6 struct student /* 定义结构体数据类型 */{ int num; char name[10]; int score[3]; /* 不能使用float */ float average;}; voi... 阅读全文
posted @ 2008-04-19 20:45 emanlee 阅读(3129) 评论(1) 推荐(0) 编辑
摘要: /* 3.9 求派的值*/ #include "stdio.h" void main() { int n; double sum=0; for(n=1;n void main() { double i=1, s=1.0, t=1.0; do { t=t*(-1)*((2*i-1)/(2*i+1)); s=s+t; i++; }while (i void... 阅读全文
posted @ 2008-04-19 20:00 emanlee 阅读(4254) 评论(0) 推荐(0) 编辑
摘要: /* 3.6 求3个数中最大值。类似于例 1.2*/ #include void main( ) { int a, b, c, max; printf("\n 请输入3个整数,整数以空格分隔:\n"); scanf("%d%d%d",&a,&b,&c); if(a>b) max=a; else max=b; if(max void ... 阅读全文
posted @ 2008-04-19 19:58 emanlee 阅读(2199) 评论(0) 推荐(0) 编辑
摘要: /* 5.10 编写函数,求Fibonacci数列的第n项 */ #include "stdio.h"int fibonacci(int n); void main(){ int n; printf("求Fibonacci数列的第n项,请输入n\n"); scanf("%d", &n); /* VC6中n要小于 ? */ printf("Fibonacci数列的第%d项为... 阅读全文
posted @ 2008-04-19 19:39 emanlee 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: /* 5.6 编写函数,输出所有水仙花数 */ #include "stdio.h"int isdaffodil( int n ) ; /* isdaffodil函数原型声明 */ void main(){ int i; for( i=100; i999 || n<100) return 0; /* it is not a daffodil */ units=n%10... 阅读全文
posted @ 2008-04-19 18:05 emanlee 阅读(5865) 评论(0) 推荐(0) 编辑
摘要: ★本吧推荐的几个C编译器:http://post.baidu.com/f?kz=2769360 ◆本吧代码格式编辑器:http://post.baidu.com/f?kz=9364381 ◆二进制文件与文本文件的转换:http://post.baidu.com/f?kz=21576218 ◆本吧代码中显示?:http://post.baidu.com/f?kz=50... 阅读全文
posted @ 2008-04-18 23:26 emanlee 阅读(1441) 评论(1) 推荐(0) 编辑
摘要: /* 例 4.19 电文加密,每个字母转换为字母表中循环右移的第三个字母, 解法一 */ #include "stdio.h"void main(){ char s[256]; int i=0; printf("请输入一行字符,之后按回车键\n"); gets(s); while(s[i]!=0) { if(s[i]>=65 && s[i]=88 && s[i]... 阅读全文
posted @ 2008-04-17 16:58 emanlee 阅读(1827) 评论(0) 推荐(0) 编辑
上一页 1 ··· 314 315 316 317 318 319 320 321 322 ··· 329 下一页