码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
快速生成折线图及代码详解
快速生成折线图时,只需要修改代码中的以下数据:1、Y轴刻度个数:Ycounts2、Y轴最小刻度数:YminValue3、横坐标:数组mouth4、标题:strTopic5、用户数据:数组d6、[可选]修改背景色:代码中27行改为所需要的颜色即可完整代码: 1 using System; 2 usin...
分类:其他好文   时间:2014-05-07 17:18:20    阅读次数:364
变量自增整理
#include using namespace std;#define Max(a, b)((a > b)? a : b)int count = 9;int nMax = Max(count++, ++count);int main(){ cout<<count<<endl; cout<<...
分类:其他好文   时间:2014-05-07 11:07:48    阅读次数:242
c#之 简单stmp/pop邮件服务(一)—— 发送邮件
c#的邮件服务,主要有两种。一种是利用JMail组件,进行收发。另一种是利用vs自带的stmp/pop3邮件服务,来实现。我将要讲解的是利用stmp/pop3邮件服务。原因无它。vs自己就有,无需安装插件之类。首先,我们要添加stmp/pop3邮件服务类的命名空间:using System.Net....
分类:其他好文   时间:2014-05-07 03:02:13    阅读次数:736
测试functional的bind以及相关功能
注:在VS2010 UPDATE1下测试通过 1 /*测试functional的bind以及相关功能*/ 2 3 #include 4 #include 5 6 using namespace std; 7 using namespace std::placeholders; 8 9 in...
分类:其他好文   时间:2014-05-07 02:33:16    阅读次数:294
SynchronizationContext的研究之一(非WPF及Forms)
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 7 8 namespace Synchroniza...
分类:其他好文   时间:2014-05-07 02:18:18    阅读次数:287
C#操作Excel
必须:添加引用“using Excel = Microsoft.Office.Interop.Excel;”(手动添加引用:右键--添加引用--。net--excel)关键:创建Excel各个对象模型 private Excel.Application excel; //Excel的当前工作环境 p...
分类:其他好文   时间:2014-05-07 01:47:41    阅读次数:257
括号匹配(栈的应用)
#include #include #include using namespace std;int main(){ int n;cin>>n; while(n--){ stack s; string str;cin>>str; for(int ...
分类:其他好文   时间:2014-05-07 00:19:41    阅读次数:356
概念学习(Concept Learning)
这是概念学习的一个简单示例的C++代码。 1 #include 2 using namespace std; 3 typedef enum Sky{Sunny,Rainy}Sky; 4 typedef enum AirTemp{Warm,Cold,Cool}AirTemp; 5 type...
分类:其他好文   时间:2014-05-06 23:46:41    阅读次数:689
迷宫 填充法新思路(填充干扰路径)
#include #include using namespace std; #define n 8 int * filler=new int[n*n];//记录填充位置 int initFiller(){//初始化填充记录器 int i,j; for(i=0;i<n;i++){ for(j=0;j<n;j++){ *(filler+n*i+j)=0; } } retur...
分类:其他好文   时间:2014-05-06 21:51:33    阅读次数:323
第十一周项目1
#include using namespace std; class Stu { public: Stu (int n,string nam); void display(); protected: int num; //学号 string name; //姓名 }; Stu::Stu(int n,st...
分类:其他好文   时间:2014-05-06 21:35:26    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!