- 博客(4)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 [Windows]Windows窗口实现
#include #include #pragma comment(lib, "WINMM.LIB") //也可以在链接器里设置 //在“项目->属性->配置属性->连接器->输入->附加依赖项”里填写“WINMM.LIB”LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARA
2015-03-26 16:58:50 560
原创 [数据结构] 图的邻接表拓扑排序实现
#include #include #include #define Max_V 100 // 最大顶点数 using namespace std;typedef struct node{ int vtex; //邻接点 int weight; //权值 struct node *next; //链域 } EdgeNode;
2015-03-09 19:59:29 1781 1
原创 配置C#环境变量并运行程序
C#程序可以直接用VS20**打开,但是如何用记事本编辑.cs文件在命令行下运行类似JAVA,我们可以配置环境变量在计算机->属性->高级->环境变量下,添加到Path中;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;具体版本号可自行选择之后在运行cmd,进入.cs文件所在文件夹编译csc First.cs无编译错误,则
2015-03-06 22:40:51 2353
原创 [数据结构] 图的Kruskal算法实现
#include using namespace std; #define MAX_V 100 //定义最大顶点个数#define INF 1000 //表示正无穷 typedef struct VertexType{ int number;//顶点标号};//顶点类型typedef struct MGraph//图的定义{ int matrix[MAX_V
2015-03-04 20:01:38 648
关于Java与C++计算能力的比较
2015-09-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人