摘要: #include <iostream> using namespace std; /* * 内存管理器,分配大块内存供使用,最后集中回收 */ class AllocMem { private: enum {BlockSize = 2048};//buffer尺寸大小 struct Block { 阅读全文
posted @ 2020-06-03 19:36 hello.world! 阅读(297) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; int ReverseInt(int i) { unsigned char ch1, ch2, ch3, c 阅读全文
posted @ 2020-06-03 18:52 hello.world! 阅读(415) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <algorithm> #include "MnistFile.cpp" #include <cmath> using namespace std; const int synapseNums = 800; class Node { publ 阅读全文
posted @ 2020-06-03 18:50 hello.world! 阅读(298) 评论(0) 推荐(0) 编辑