实验

实验6 C语言结构体、枚举应用编程

实验任务1 源代码: 1 #include <stdio.h> 2 #include <string.h> 3 #define N 10 // 运行程序输入测试时,可以把这个数组改小一些输入测试 4 5 typedef struct student { 6 int id; // 学号 7 char ......
语言 结构

实验7

4. 实验任务4 task4.c源码: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; char ch; int cnt = 0; fp = fopen("data ......

实验六

#pragma once #include<iostream> #include<stdexcept> using namespace std; template<typename T> class Vector { private: int size; T* ptr; public: Vector ......

实验6

4. 实验任务4 task4.c源码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_p ......

实验七

task4.c #include <stdio.h> int main() { char ch; int cnt=0; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL){ printf("fail to open\n"); return 1; } w ......

实验6-模板类、文件I/O和异常处理

Vector.hpp 1 #ifndef VECTOR_HPP 2 #define VECTOR_HPP 3 4 #include <iostream> 5 #include <stdexcept> 6 7 template<class T> 8 class Vector { 9 private: ......
模板 文件

实验六

task4.cpp: 点击查看代码 #include <iostream> #include "vector.hpp" void test() { using namespace std; int n; cin >> n; Vector<double> x1(n); for (auto i = 0; ......

实验7

任务4 #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ long i = 0; char ch; FILE* fp; fp = fopen("c://data//data4.txt", "r"); while (!feof(fp ......

实验七

任务1: #include <stdio.h> #define N 80 typedef struct { char name[N]; // 书名 char author[N]; // 作者 } Book; int main() { Book x[] = { {"《雕塑家》", "斯科特.麦克劳德" ......

实验7 文件应用编程

1.实验任务1 源代码 1 // 将图书信息写入文本文件data1.txt 2 3 #include <stdio.h> 4 5 #define N 80 6 7 typedef struct { 8 char name[N]; // 书名 9 char author[N]; // 作者 10 } ......
文件

实验7

task4 1 #include <stdio.h> 2 3 int main() { 4 5 int i=0; 6 char s; 7 8 FILE *fp; 9 fp=fopen("data4.txt","r"); 10 11 while(1){ 12 s=fgetc(fp); 13 if(s= ......

实验6

任务4 1 #include <iostream> 2 #include "Vector1.hpp" 3 4 void test() { 5 using namespace std; 6 7 int n; 8 cin >> n; 9 10 Vector<double> x1(n); 11 for(a ......

实验6 模板类、文件IO和异常处理

实验任务4 1 #define VECTOR_HPP 2 #include <iostream> 3 #include <stdexcept> 4 using namespace std; 5 template <typename T> 6 class Vector { 7 private: 8 T ......
模板 文件

实验三-电子公文传输系统1-个人贡献

实验三-电子公文传输系统1-个人贡献 任务详情 1 简述你完成的工作 2 你们小组总共的代码行数,你贡献的代码行数?相关代码链接? 3 你们小组总共的文档数?你贡献的文档数?相关链接? 主要完成的工作 个人主要完成的工作是扮演了项目经理和产品经理的角色,具体工作如下: 项目经理: 根据项目需求,制定 ......
传输系统 公文 贡献 系统 电子

实验六 模板类、文件I/O和异常处理

实验任务4 Vector.hpp: 1 #pragma once 2 3 #include<iostream> 4 #include<stdexcept> 5 6 using namespace std; 7 8 template<typename T> 9 class Vector 10 { 11 ......
模板 文件

实验三-电子公文传输系统-个人贡献

(一)简述你完成的工作 我的工作主要是项目整体结构的搭建设计,和公文系统功能的实现 一 mvc模式和服务实现逻辑链设计 在设计初期,我们确定好了分工和系统编写的基调。我认为电子公文系统中,可以采用MVC模式进行设计,得到了其他组员的支持,我们的分工也基本根据这个方式而来。其中我主要完成的是模型层的、 ......
传输系统 公文 贡献 系统 电子

实验6 模板类、文件I/O和异常处理

任务4 #include <iostream> #include <stdexcept> #include <stdlib.h> template <typename T> class Vector { public: friend void output(const Vector<T1> &v); ......
模板 文件

实验七

#define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 100 typedef struct { l ......

实验七

task4 code 1 #include<stdio.h> 2 3 int main() { 4 FILE* fp; 5 long cnt = 0, c = 0; 6 char ch; 7 8 fp = fopen("data4.txt", "r"); 9 if (fp == NULL) { 10 ......

实验三-电子公文传输系统1-个人贡献

实验三-电子公文传输系统1-个人贡献 1 简述你完成的工作 与组内成员相互配合协作,高效率完成任务 参与组内文档的撰写工作 负责了前端设计与数据库的建立 2 你们小组总共的代码行数,你贡献的代码行数?相关代码链接? 总共代码行数为55352行,其中大部分是gitee上的代码,我们组总共贡献了1313 ......
传输系统 公文 贡献 系统 电子

实验6 模板类、文件I/O和异常处理

实验任务4 Vector.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <stdexcept> 5 6 using namespace std; 7 8 template <typename T> 9 10 class Vector { ......
模板 文件

实验7

// 将图书信息写入文本文件data1.txt #include <stdio.h> #define N 80 typedef struct { char name[N]; // 书名 char author[N]; // 作者 } Book; int main() { Book x[] = { { ......

实验7

// 将图书信息写入文本文件data1.txt #include <stdio.h> #define N 80 typedef struct { char name[N]; // 书名 char author[N]; // 作者 } Book; int main() { Book x[] = { { ......

实验六

task4源代码: 1 #pragma once 2 3 #include<iostream> 4 #include<stdexcept> 5 #include<cassert> 6 #include<iomanip> 7 8 using namespace std; 9 10 template < ......

实验7_文件应用编程

task4 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; char ch; int cnt = 0; fp = fopen("data4.txt", "r"); ......
文件

edge 开启实验功能(edge://flags)

edge 开启实验功能(edge://flags):Parallel downloading 开启多线程下载Microsoft Edge Split Screen 启用分屏Microsoft Edge rounded corners 启用圆角选项卡Microsoft Edge minimal too ......
edge 功能 flags

实验七

task4 1 #include<stdio.h> 2 int main(){ 3 FILE *fp; 4 long count=0; 5 char t; 6 if((fp=fopen("data4.txt","r"))==NULL){ 7 printf("error\n"); 8 return 1 ......

实验6 c语言结构体,枚举应用编程

task4 源代码 1 #include <stdio.h> 2 #include<string.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char author ......
语言 结构

实验六

task4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sale ......

实验六

实验四 源代码 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sa ......
共3088篇  :10/103页 首页上一页10下一页尾页