
C++
FFjet
这个作者很懒,什么都没留下…
展开
-
重新启动(结束并打开)explorer.exe C++
自写了个程序,能重新启动资源管理器~~~ 不多说,直接上代码!#include <windows.h>#include <Tlhelp32.h>int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ char ProcessName[1000] =原创 2016-08-29 20:12:34 · 2931 阅读 · 2 评论 -
Treap标准模板
这是Treap的模板程序,支持Left/Right Rotate,Find the maxnum/minnum,Find the predecessor/successor of a node,Add/Delete nodes 等绝大多数功能(不包含类似于”查找排名第k的元素”这样奇怪的东西的代码; 直接上代码,具体教程请看本人的另一篇博客!!!#include<bits/stdc++.h>#i原创 2016-08-29 20:20:29 · 395 阅读 · 0 评论 -
C++结束进程 并能显示其父进程
这个程序功能强大哦~~ 本人是在Dev c++下编译的 用VC的请把第一个头文件改成你知道的所有头文件~~ 代码展示:#include <bits/stdc++.h>#include <windows.h>#include <winbase.h>#include <wtypes.h>#include <tlhelp32.h>#include <psapi.h>#include <t原创 2016-08-30 08:34:40 · 828 阅读 · 0 评论 -
Openjudge 题解01~05 C++
01.这里写链接内容 代码:#include<iostream>using namespace std;int main(){ cout<<"Hello, World!"<<endl; return 0;}02.这里写链接内容 代码:#include<iostream>#include<cstdio>using namespace std;int main(){原创 2016-08-26 20:08:08 · 782 阅读 · 0 评论