会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
84
85
86
87
88
89
90
91
92
···
123
下一页
2022年2月5日
C++ ofstream write content to file,ifstream read content from file
摘要: #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
阅读(46)
评论(0)
推荐(0)
2022年2月3日
C++ judge file whether exists
摘要: #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
阅读(63)
评论(0)
推荐(0)
2022年1月29日
WPF draw circle equals with ellipse has same width and height,zoom
摘要: <Window x:Class="WpfApp2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200
阅读全文
posted @ 2022-01-29 10:32 FredGrit
阅读(126)
评论(0)
推荐(0)
2022年1月21日
C++ write a game for guess computer generated than 10000 quite funny
摘要: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; void game6(); int main() { game6(); return 0; } void game6() { srand(time
阅读全文
posted @ 2022-01-21 11:33 FredGrit
阅读(36)
评论(0)
推荐(0)
2022年1月17日
C++ BST Insert Print,compile via g++ ,the *.cpp asterisk can represent all the files end with cpp
摘要: #include <iostream> using namespace std; class BSTNode { public: BSTNode *root; BSTNode *Left; BSTNode *Right; BSTNode *Parent; int Key; BSTNode(); BS
阅读全文
posted @ 2022-01-17 18:26 FredGrit
阅读(40)
评论(0)
推荐(0)
2022年1月11日
vector order by function and object
摘要: #include <iostream> #include <uuid/uuid.h> #include <ctime> #include <string.h> #include "BSTNode.h" #include <vector> using namespace std; void vecto
阅读全文
posted @ 2022-01-11 11:45 FredGrit
阅读(39)
评论(0)
推荐(0)
C++ get struct array via pointer and struct has char * properties
摘要: #include <iostream> #include <uuid/uuid.h> #include <ctime> #include <string.h> using namespace std; static char* dtValue=(char*)malloc(20); static ch
阅读全文
posted @ 2022-01-11 09:04 FredGrit
阅读(55)
评论(0)
推荐(0)
2022年1月9日
C++ BST stands for Binary Search Tree include insertion and print elements,search target key,find min,/max
摘要: //BSTNode.h #include <iostream> using namespace std; class BSTNode { public: int Key; BSTNode *Left; BSTNode *Right; BSTNode *Parent; BSTNode *root; B
阅读全文
posted @ 2022-01-09 17:26 FredGrit
阅读(53)
评论(0)
推荐(0)
C++ Tree node ,when g++ compile multiple cpp files should list them respectively
摘要: //TreeNode.h #include <iostream> using namespace std; class TreeNode { public: int val; TreeNode *left; TreeNode *right; TreeNode *NewTreeNode(int key
阅读全文
posted @ 2022-01-09 16:40 FredGrit
阅读(88)
评论(0)
推荐(0)
2022年1月7日
C++ struct array with char * properties,convert int to unsigned long long
摘要: #include <iostream> #include <uuid/uuid.h> #include <ctime> #include <random> #include <unistd.h> #include <string.h> #include <exception> #include <t
阅读全文
posted @ 2022-01-07 19:05 FredGrit
阅读(49)
评论(0)
推荐(0)
上一页
1
···
84
85
86
87
88
89
90
91
92
···
123
下一页
公告