![](https://img-blog.csdnimg.cn/20210918012133429.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
东北大学秦皇岛分校通信工程中外合作2020级C语言实验课
文章平均质量分 95
东北大学秦皇岛分校通信工程中外合作2020级C语言实验课的部分习题
-NEBULA-
备周则意怠,常见则不疑
展开
-
ACLGUI IN SSTC(PIA)2020中可能遇到的一些知识点
题主抽到的题目是“咖啡厅信息管理系统”实践要求:1.设计合理的系统界面以实现系统功能。2.实现咖啡厅基本信息插入、修改、删除和查找。3.咖啡厅的基本信息要存在一个文件里。4.使用软件限制:QT,Codeblocks,VSC。(一)部分头文件1.windows.hWindows.h头文件封装了许多库函数以及一些类,将一些复杂的工作由库函数处 理,Windows.h头文件中包含了Windef.h、Winnt.h、Winbase.h、Winuser.h、Wingdi.h等头文件,涉及到了Win原创 2021-01-05 19:43:09 · 277 阅读 · 1 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C/CPP实验8
1.阅读并分析下面的程序,说明类的功能,并在电脑中录入、运行进行验证(要有运行的截图)1.Read and analyze the following program, interpret the functions of the class, and input it into computer, run it to check your conclusions#include <iostream>using namespace std;class LinearEquation{原创 2020-12-10 04:05:23 · 895 阅读 · 0 评论 -
Experiment with Python in Class Test Instruction
Problem Scope:(1)simplify a given function;(2)solve the equation or equation set,determine the limit,derivative,integration of an expression;(3)find the determinant and inverse of a matrix;matrix multiplication;(4)plot a function in 2D or 3D.Related k原创 2020-12-04 11:59:07 · 288 阅读 · 0 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C/CPP实验7
1.阅读下面的程序,在电脑中录入、运行,说明程序的功能(要有运行截图)1.Read the following program, input it into computer, run it and interpret its functions2.阅读下面的程序,在电脑中录入,说明程序的功能(要有运行截图)2.Read the following program, input it into computer, run it and interpret its functions3.将下面的算原创 2020-12-10 00:27:46 · 730 阅读 · 0 评论 -
PTA-SSTC2020-04-14
#include<stdio.h>int main(){ int q[17]={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; /*身份证号码前17位加权系数*/ int i,j; /*循环指示标*/ char idm[12]="10X98765432"; /*z的转换*/ int n,sum[..转载 2020-12-02 16:10:52 · 178 阅读 · 0 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C语言实验6
1.定义结构体类型,包括候选人名和选票两个成员,编程实现对候选人得票的统计。1.Write a C program that implements the statistics of the candidate votes using the definition of structures including two members ( candidate name and vote count)2.定义结构体类型变量(包括年、月、日),编写程序实现输入一个日期显示它是该年的第几天。2.Write原创 2020-11-27 09:42:33 · 920 阅读 · 3 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C语言实验5
1.编写程序,定义整型指针变量p,初始化整型一维数组a的首地址(数组a的长度为10),利用指针变量p实现从键盘输入10个整型数据到一维数组a中,并输出该数组中最大值和最大值元素的下标。1.Write a C program that declares an integer type pointer variable initialized the initial address of array a (the length is 10). You’re your program use the point原创 2020-11-21 11:10:30 · 1265 阅读 · 5 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C语言实验4
第一题#include<stdio.h>james(int x,int y,int z){ printf("(2) x=%d,y=%d,z=%d\n",x,y,z); z=x+y; x=x*x; y=y*y; printf("(3) x=%d,y=%d,z=%d\n",x,y,z);}int main(){ int x=2,y=3,z=0; printf("(1) x=%d,y=%d,z=%d\n",x,y,z); james(x,y,z);原创 2020-11-06 11:12:30 · 409 阅读 · 0 评论 -
东北大学秦皇岛分校通信工程中外合作2020级C语言实验3
第一题原创 2020-10-30 09:16:25 · 590 阅读 · 0 评论 -
东北大学秦皇岛分校通信工程(中外合作)2020级C语言实验课2第五题
东北大学秦皇岛分校通信工程(中外合作)20级C语言实验2第五题:编程实现,输入一个整数m,判断其是不是素数,如果是素数,打印此数是素数信息,如果不是素数,则打印其所有因子。#include<stdio.h>#include<math.h>int main(){ int i,m,k,n=1; printf("please input m:\n"); scanf("%d",&m); k=sqrt(m); for(i=2;原创 2020-10-28 07:03:04 · 761 阅读 · 0 评论