摘要: 原始路径: "start C:\\Program Files\\Everything\\Everything.exe" 改为: char *cmd="start C:\\\"Program Files\"\\Everything\\Everything.exe";system(cmd); 阅读全文
posted @ 2022-03-27 22:04 小白白中白 阅读(79) 评论(0) 推荐(0)
摘要: void merge(int A[],int Pos_low,int Pos_mid,int Pos_high){ int* B=new int[Pos_high-Pos_low+1]; int i=Pos_low,j=Pos_mid+1,k=0; while(i<=Pos_mid and j<=P 阅读全文
posted @ 2022-03-26 22:37 小白白中白 阅读(23) 评论(0) 推荐(0)
摘要: SendMessage函数将程序消息发到Windows窗口管理器,然后转发给程序,让程序进行判断。同时可以转发字符串指针。 LRESULT SendMessage( [in] HWND hWnd, [in] UINT Msg, [in] WPARAM wParam, [in] LPARAM lPar 阅读全文
posted @ 2022-03-23 00:01 小白白中白 阅读(218) 评论(0) 推荐(0)
摘要: 函数FindWindowW 名字中W代表编码为Unicode编码。 HWND FindWindowW( [in, optional] LPCWSTR lpClassName, [in, optional] LPCWSTR lpWindowName );第一个参数:类名或由先前调用RegisterCl 阅读全文
posted @ 2022-03-22 23:48 小白白中白 阅读(226) 评论(0) 推荐(0)
摘要: C++ 中的运算符重载 可以重定义或重载大部分 C++ 内置的运算符。 重载的运算符是带有特殊名称的函数,函数名是由关键字 operator 和其后要重载的运算符符号构成的。与其他函数一样,重载运算符有一个返回类型和一个参数列表。 声明加法运算符用于把两个 Box 对象相加,返回最终的 Box 对象 阅读全文
posted @ 2022-03-20 12:19 小白白中白 阅读(105) 评论(0) 推荐(0)
摘要: 将零维度张量转为浮点数 阅读全文
posted @ 2022-03-20 12:10 小白白中白 阅读(68) 评论(0) 推荐(0)
摘要: plot画线,scatter散点 Plotting categorical variables You can pass categorical values (i.e. strings) directly as x- or y-values to many plotting functions: 阅读全文
posted @ 2022-03-20 10:25 小白白中白 阅读(247) 评论(0) 推荐(0)
摘要: Matplotlib Matplotlib 是 Python 的绘图库,它能让使用者很轻松地将数据图形化,并且提供多样化的输出格式。 Matplotlib 可以用来绘制各种静态,动态,交互式的图表。 Matplotlib 是一个非常强大的 Python 画图工具,我们可以使用该工具将很多数据通过图表 阅读全文
posted @ 2022-03-20 10:09 小白白中白 阅读(607) 评论(0) 推荐(1)
摘要: 在python中使用matplotlib中的pyplot给图像加上图例 1 from matplotlib import pyplot as plt 2 3 plt.scatter(time_steps[:], predictions_true[:],c='b') 4 5 plt.scatter(t 阅读全文
posted @ 2022-03-19 17:47 小白白中白 阅读(483) 评论(0) 推荐(0)