1 #include <iostream> #include <cctype> int main() { using namespace std; char ch; while ((ch = ci…
C++ Primer Plus [第六版]第5章编程练习题答案
1 #include <iostream> int main() { using namespace std; int num1, num2; cout << "请输入第一个整数: "; cin …
C++ Primer Plus [第六版]第4章编程练习题答案
1 #include <iostream> int main() { using namespace std; char first[20]; char last[10]; char deserve; int…
C++ Primer Plus [第六版]第4章复习题答案
13 #include <iostream> #include <vector> int main() { using namespace std; int n; cout << "请…
C++ Primer Plus [第六版]第3章编程练习题答案
1 #include <iostream> int main() { using namespace std; const int ft_height = 12; int height; cout <&…
C++ Primer Plus [第六版]第2章编程练习题答案
1 #include <iostream> int main() { using namespace std; cout << "姓名: Mr.Lei" << endl; cout &…
C语言设备管理程序设计
1、设计题目:设备管理程序设计。 2、设计内容及要求: (1)进行需求分析,规划设计。 (2)进行界面设计和相关数据表(包括:设备编号、设备种类、设备名称、设备价格、设备购入日期、是否报废等信息)的设计。 (3)实现对设…
纯C控制台俄罗斯方块
#ifndef _BLOCK_H_ #define _BLOCK_H_ #include <stdbool.h> #define SIZE 26 #define SLEN 14 //游戏池占有状态 stati…
纯C写贪吃蛇游戏
用了链表添头去尾的方法,添加了历史排行榜用文件统计,分数 等级 难度,暂停 #ifndef _SNAKE_H_ #define _SNAKE_H_ #include <stdbool.h> //食物 type…
C Primer Plus [第六版]第17章编程练习题答案
1. 修改程序清单17.2,使其既能以正序又能以逆序显示电影列表。一种方法是修改链表定义以使链表能被双向遍历;另一种方法是使用递归。 //使用结构链表 #include <stdio.h> #include…