
c++
Radish_Ghost
我有一杯酒,可以慰风尘
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[转]c++调用蜂鸣器
使用Beep函数播放不同频率的蜂鸣BOOL WINAPI Beep(__in DWORD dwFreq, //频率__in DWORD dwDuration //持续时间);如while(1) Beep(5000,500);转自http://zhujiangtao.com/?p=58转载 2017-04-14 22:03:18 · 6027 阅读 · 1 评论 -
c++并查集实现
#include <iostream> #include <map> #include <vector>std::map<int,int> mergeSearch; std::multimap<int,int> graph;void init()// 测试数据 { graph.insert(std::pair<int,int> (1,2)); graph.insert(std::pa原创 2017-04-14 22:23:14 · 1078 阅读 · 0 评论