02 2022 档案

摘要:int Util::partition9(int *arr, int low, int high) { int pivot = *(arr + high); int i = low - 1; for (int j = low; j < high; j++) { if (arr[j] < pivot) 阅读全文
posted @ 2022-02-27 14:15 FredGrit 阅读(57) 评论(0) 推荐(0) 编辑
摘要:void Util::getArray(int *arr,int len) { srand(time(NULL)); for(int i=0;i<len;i++) { *(arr+i)=rand(); } } void Util::printArray(int *arr,int len) { for 阅读全文
posted @ 2022-02-27 13:45 FredGrit 阅读(33) 评论(0) 推荐(0) 编辑
摘要://Node.cpp #include <iostream> using namespace std; template<typename T> class Node { public: T Val; Node<T> *Next; Node(T value):Val(value){}; }; //h 阅读全文
posted @ 2022-02-07 23:07 FredGrit 阅读(62) 评论(0) 推荐(0) 编辑
摘要:// The MIT License (MIT) // Copyright (c) 2022 SmoothTech // Permission is hereby granted, free of charge, to any person obtaining a // copy of this s 阅读全文
posted @ 2022-02-07 18:23 FredGrit 阅读(24) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <iterator> using namespace std; void arrayPointer3(); int main() { arrayPointer3(); return 0; } void arrayPointer3() { in 阅读全文
posted @ 2022-02-07 17:44 FredGrit 阅读(23) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <ctime> #include <uuid/uuid.h> #include <unistd.h> #include <string.h> #include <random> #include <fstream> #include <ost 阅读全文
posted @ 2022-02-07 16:37 FredGrit 阅读(29) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <ctime> #include <uuid/uuid.h> #include <unistd.h> #include "Model/BookStruct.cpp" #include <string.h> #include <typeinfo 阅读全文
posted @ 2022-02-05 21:30 FredGrit 阅读(34) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; void fileExist11(); void fileExist12(); int main() { fileExist12(); return 0; } void fileExist12() { string f 阅读全文
posted @ 2022-02-03 21:57 FredGrit 阅读(48) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示