-
高级语言程序设计第一次作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500327 姓名:李文涛 1.安装成功后的界面 2.编写代码 3 -
高级语言程序设计第一次作业
这个作业属于哪个课程: https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500334 姓名:吴俊杰 1.安装c程序的 -
实验2
实验任务1 task1.c #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major, -
实验一:现代C++初体验
实验一 源代码 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1(); void -
实验二
实验任务一 `#include <stdio.h> include <stdlib.h> include <time.h> define N 5 define N1 80 define N2 35 int main () { int cnt; int random_major, random_no; -
实验2
实验任务1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main() 10 { 11 int cnt ; 12 -
实验2
task1 代码 1 #define _CRT_SECURE_NO_WARNINGS 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include<time.h> 5 6 #define N 5 7 #define N1 80 8 #define N2 -
实验2
实验任务一 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major,random_no; s -
地址
https://www.cnblogs.com/zhj910 -
实验2
实验任务1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int r -
博客地址
https://www.cnblogs.com/Asahina -
实验1
实验任务1: 源代码: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 template<typename T> 7 void output(const T &c); 8 -
实验2
task1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int r -
实验2
1 include <stdio.h> include <stdlib.h> include <time.h> define N 5 define N1 80 define N2 35 int main() { int cnt; int random_major, random_no; srand( -
实验2
实验任务1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int ran -
实验1 现代C++编程初体验
任务1 ·源代码 点击查看代码 #include <iostream> #include <string> #include <vector> #include <algorithm> //模板函数声名 template<typename T> void output(const T &c); vo -
实验1 现代C++编程初体验
实验1-1 // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <str -
实验任务2
task1 问题一:提供随机种子,避免每次运行的结构都是一致的 问题二:生成四个随机的数字,且数字的前几位数只有两种形式,后4位数是随机的,类似于学号的生成。 task2 问题一:去掉之后的第一次结果并无影响,第二次运行结果就会错误。 问题二:执行下面的代码。 task3 1 #include <s -
实验2
实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major, random_ -
算法第一章
一、编码规范 缩进与空行:统一使用4个空格缩进 空格规则:双目运算符(+、=、== 等)前后加空格 换行要求:if、for 等语句独占一行 命名规范:使用完整英文单词,避免拼音或无意义缩写,变量名需体现类型与功能。小驼峰命名法(如courseScore、calculateSortTime);大驼峰命