您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 四川c语言19至30次省二级笔试上机考试题及答案

  2. 磁盘上有一个名为testl-l.c的C程序文件,其功能是:计算并输出M以内最大的10个素数之和,M由主函数传给fun 函数。例如:当M的值为100,则函数的值为732。调试程序使之能输出正确的结果。 注意:可以增加和修改程序行,但不得删除程序中的整行。在一处增加的程序行不得超过两行。 源程序如下: # include # include int fun(int m); { int sum,n=0,j,yes; while((m>=2)&&(n<10) { yes=0; for(
  3. 所属分类:C

    • 发布日期:2010-04-05
    • 文件大小:436224
    • 提供者:qw_19881007
  1. 查询手册 C语言库函数

  2. 学习C的朋友可以看看。 函数名: delay 功 能: 将程序的执行暂停一段时间(毫秒) 用 法: void delay(unsigned milliseconds); 程序例: /* Emits a 440-Hz tone for 500 milliseconds */ #include int main(void) { sound(440); delay(500); nosound(); return 0; } 函数名: delline 功 能: 在文本窗口中删去一行 用 法: void
  3. 所属分类:C

    • 发布日期:2010-09-03
    • 文件大小:348160
    • 提供者:z812413584
  1. 用c++編的电话簿,希望對你有用

  2. 用c++編的控制台程序,希望對你有用。 #include "dianhua.h" #include #include #include #include #include #include int main(){ PhoneNote list; char pause; cout << "欢迎使用电话薄 1.0 。\n"; cout << "请按回车键继续......\n"; cin.get(pause); system("cls"); //执行系统命令:cls-清屏 i
  3. 所属分类:C++

    • 发布日期:2010-09-14
    • 文件大小:687104
    • 提供者:cauc101
  1. c语言“hello world"描述

  2. c语言描/* HELLO.C -- Hello, world */ #include "stdio.h" #include "conio.h" main() { printf("Hello, world\n"); getch(); }
  3. 所属分类:C

    • 发布日期:2010-12-30
    • 文件大小:133
    • 提供者:coolboyqwy
  1. C语言:密码验证-程序控制台

  2. 纯属练习 可以用来当做众多小程序(例如你的练习程序)的总控制程序,第一次进入提示创建密码,以后就要输入密码,用文件保存密码,按程序代号进入相应的程序。 不足:忘了隐藏密码字符。 即,密码用 **** 表示,这个已经修正了,代码如下: #include #include #include int string_same(char *string_1,char *string_2);/*判断两个字符串是否一致的子函数原型*/ void enter_mima(char *enter_1); /
  3. 所属分类:C/C++

    • 发布日期:2011-03-25
    • 文件大小:5120
    • 提供者:lz20051534
  1. #include "graphics.h" #include "graphics.h"

  2. #include "graphics.h" #include "stdio.h" #include "dos.h" #include "conio.h" #include "bios.h" #include "stdlib.h" #include "math.h" #ifdef __cplusplus #define __CPPARGS ... #else #define __CPPARGS #endif #define VK_LEFT 0x4b00 #define VK_RIGHT 0x4d
  3. 所属分类:C

    • 发布日期:2011-04-09
    • 文件大小:13312
    • 提供者:lzhtj1227
  1. #include "graphics.h" #include "graphics.h"

  2. #include "graphics.h" #include "stdio.h" #include "dos.h" #include "conio.h" #include "bios.h" #include "stdlib.h" #include "math.h" #ifdef __cplusplus #define __CPPARGS ... #else #define __CPPARGS #endif #define VK_LEFT 0x4b00 #define VK_RIGHT 0x4d
  3. 所属分类:C

    • 发布日期:2011-04-09
    • 文件大小:15360
    • 提供者:lzhtj1227
  1. 计算机二级C语言试题

  2. 1、 改错题1 下列给定程序的功能是:读入一个整数(2<=k《=10000》,打印它的所有质因子(即所有为素数的因子)。例如,若输入整数2310,则应输出2、3、5、7、11。 请改正程序中的错误,使程序能得出正确的结果。 注意,不要改多main函数,不得增行或删行,也不得更改程序的结构! 试题程序: #include         #include         ******************************* IsPrime(int n);       ——————
  3. 所属分类:C/C++

    • 发布日期:2011-05-12
    • 文件大小:53248
    • 提供者:mimi890912
  1. C语言程序的改错题

  2. 国二c语言程序的改错题,例如 第1题 #include #include /********found********/ IsPrime(int n); { int i, m; m = 1; /********found********/ for (i=2; i<n; i++) if !(n%i) { m = 0; break; } return(m); } main() { int j, k; printf("\nplease enter an integer number bet
  3. 所属分类:C/C++

    • 发布日期:2011-09-15
    • 文件大小:50176
    • 提供者:lfd1990220
  1. C++学生成绩管理 初级

  2. 利用结构编写的C++简单成绩管理 #include #include #include using namespace std; struct Kemu { string sx; string wl; string cx; string jds; string yy; } struct information //定义学生结构体类型信息 { char name[15]; char xuehao[15]; char xueqi[5]; Kemu kemu[30] }information[30]
  3. 所属分类:C/C++

    • 发布日期:2012-06-12
    • 文件大小:8192
    • 提供者:bohejing
  1. 实训项目:五子棋

  2. #include #include #include #pragma comment(lib,"winmm.lib") void Beginning(); //开始图片 void Background(); //显示背景 void ShowPlate(); //显示棋盘 void PlayGame(); //玩游戏 void Judgewin(int,int); //判断输赢 void Blackwin(); //黑棋赢 void Whitewin(); //白棋赢 bool flag=tr
  3. 所属分类:C/C++

    • 发布日期:2013-07-27
    • 文件大小:15728640
    • 提供者:ygd1994
  1. C语言通讯录管理系统彩色界面

  2. 非常强大的功能 并有注释 #include #include #include #include #include #include #include time t函数 头文件 struct Student { char name[20]; 姓名 char gender[20]; 性别 char tel[20]; 电话 char email[50]; 邮箱 char address[100]; 地址 }; typedef struct Student SS; 给struct St
  3. 所属分类:C/C++

    • 发布日期:2014-01-02
    • 文件大小:28672
    • 提供者:jack85986370
  1. 电子万年历系统

  2. #include #include #include int g MonthDays[13] {0 31 28 31 30 31 30 31 31 30 31 30 31}; 定义全局数组 函数声明 int LeapYear int n ; 判断闰年与否 int CountYearDays int year ; 计算从公元1 1到某年12 31一共多少天 int CountMonthDays int month ; 计算某年一月一日到12月31日的天数 void Menu void ; 输出系
  3. 所属分类:C/C++

    • 发布日期:2015-04-30
    • 文件大小:173056
    • 提供者:wyl_haohaoxuexi
  1. 网络编程代码满袖春风vm

  2. (gethostname(hname,sizeof(hname))==SOCKET_ERROR) { printf("gethostname Failed!\n"); printf("Error Code:%d\n",WSAGetLastError()); return -1; } printf("Local Host Name:%s\n",hname); return 0;
  3. 所属分类:网络基础

    • 发布日期:2008-11-18
    • 文件大小:237568
    • 提供者:zhizheyu