程序的目的:是想要实现两个数的输入,并想加 实验结果: 结果分析:没有达到预期效果 ...
分类:
其他好文 时间:
2017-04-19 00:40:38
阅读次数:
297
1、加入头文件路径(MySQL安装路径中的include路径) 2、加入库文件(直接从MySQL安装路径中copy libmysql.lib就可以) 3、编程操作数据库 代码 // AccessToMySQL.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" # ...
分类:
数据库 时间:
2017-04-15 15:34:01
阅读次数:
199
// Graph2.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; typedef int Vertex; #define NotAVertex 0 #define INF 6553... ...
分类:
其他好文 时间:
2017-04-14 00:23:38
阅读次数:
146
// text.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; #define size 10 char operation[4] = { '+','-','*','/' }; int oper_[4... ...
分类:
其他好文 时间:
2017-04-13 23:35:46
阅读次数:
237
// crikal.cpp : 定义控制台应用程序的入口点。 // #include "iostream" #include "vector" #include "stack" #include using namespace std; #define MaxNumVertex 20 //最大顶点数... ...
分类:
其他好文 时间:
2017-04-11 13:46:26
阅读次数:
144
一.基础语法 1.C#区分大小写,所以myVar和MyVar是两个不同的变量。 2.每个C#可执行文件(如控制台应用程序,Windows应用程序和Windows服务)都必须有一个入口点————Main()(M大写) public static void Main() { //do something ...
// greedy_algorithm.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; #define NofActivity 11 int c[NofActivity + 1][N... ...
分类:
编程语言 时间:
2017-04-07 23:38:23
阅读次数:
339
// zuichanghuiwen.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include using namespace std; void palindrome(string str) { stack sta;... ...
分类:
其他好文 时间:
2017-03-29 01:20:47
阅读次数:
146
// kaifangliaobiao.cpp : 定义控制台应用程序的入口点。 //使用平方探测解决冲突问题时,散列表至少空一半时,总能插入一个新的元素 #include "stdafx.h" #include using namespace std; #ifndef HashQuad typede... ...
分类:
其他好文 时间:
2017-03-28 21:24:56
阅读次数:
187
有三种Timer 1、System.Windows.Forms.Timer 应用于WinForm中,它的主要缺点是计时不精确,而且必须有消息循环,Console Application(控制台应用程序)无法使用 2、 System.Timers.Timer 3、System.Threading.Ti ...