C++上机实验
文章平均质量分 53
tensorflow不好用
怎么会有tensorflow这样的东西,不兼容还什么都没有。pytorch天下第一!
展开
-
【数据结构】大连理工大学软件学院20年
最小生成树#include<iostream>#include <stdlib.h>#define INF 1000000using namespace std;//MinHeaptemplate <class T>class MinHeap {private: T* heapArray; int CurrentSize; /* 当前堆元素个数 */ int MaxSize; /* 堆中能存放的最大元素个数 */publi原创 2021-10-18 16:10:17 · 441 阅读 · 0 评论 -
大连理工大学C++第二次上机
1. 类的设计与实现定义并测试日期类 Date ,实现日期的设置和输出• 类包括私有数据成员 year, month, day;• 公有成员函数实现以下功能:1)设计各种构造函数,有参数与默认构造函数 (合理即可,没有硬性要求)2)设置时间 bool set( int y, int m, int d),并对该时间的有效性进行检测3)输出时间,按 mm/ dd / yyyy 方式打印4)判断该日期是一年的第几天编写一个驱动程序,对该类进行测试.2. 含有指针成员的类的实现、理解常量成员函数原创 2021-05-09 22:23:52 · 1428 阅读 · 0 评论