1.xaml 
xmlns:local="clr-namespace:YaoMinSys.Class" ...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 00:02:06   
                                阅读次数:
376
                             
                    
                        
                            
                            
                                // 题意: // 输入两个整数N, H,按照字典序输出所有长度为N,恰好包含H个1的01串 
// 规模:1#include#include#include#includeusing namespace std;int n,h;int 
buf[16];void solve(int c0, int c...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 23:19:55   
                                阅读次数:
416
                             
                    
                        
                            
                            
                                这里仅仅是以putty作为演示消息发送机制和控件搜索机制,不完善,待更新#include"stdafx.h"#include #include using 
namespace std;HWND FindTextBox(HWND hWnd,DWORD select_edit=1){ HWND hEdi...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 22:20:23   
                                阅读次数:
587
                             
                    
                        
                            
                            
                                求由所有的点组成的三角形中周长最小的三角形的周长1.将所有的点按横坐标大小排序2.从第一个点开始往后枚举,判断能否组成三角形,判断当前三角形周长是否小于已经得到的最小周长代码如下:#include#include#include#includeusing 
namespace std;const do...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 21:14:42   
                                阅读次数:
504
                             
                    
                        
                            
                            
                                以订票为例简单应用wcf程序,需要的朋友可以参考下WCF实例(带步骤)复制代码代码如下:本篇转自百度文档,自己试过,确实可以用。以订票为例简单应用wcf新建一个wcf服务应用程序在IService1.cs定义服务契约复制代码代码如下:namespace 
WcfDemo{// 注意: 如果更改此处的接...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 12:04:09   
                                阅读次数:
487
                             
                    
                        
                            
                            
                                #includeusing namespace std;#define MAXN 1000000int 
a[MAXN],b[MAXN]; //点的横纵坐标void TuBao(int x[MAXN],int y[MAXN],int n){ int 
count1=0,count2=0; f...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 03:10:03   
                                阅读次数:
335
                             
                    
                        
                            
                            
                                http://acm.hdu.edu.cn/showproblem.php?pid=1596 
1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace std; 6 7 
double g[maxn][maxn...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 01:18:06   
                                阅读次数:
597
                             
                    
                        
                            
                            
                                局部变量: 
在函数内部声明的变量为局部变量,局部变量的意思即该变量只存活在该函数中,假如该函数调用结束,那么该变量的寿命也结束了.举例:#includeusing 
namespace std;void swap(int ,int );//两个参数变量可以省略int main(){ int x=...
                            
                            
                                分类:
编程语言   时间:
2014-04-27 22:20:36   
                                阅读次数:
562
                             
                    
                        
                            
                            
                                #includeusing namespace std;#define MAX 10000int 
array[MAX]; //待排序数组const int MAXN=0x7fffffff;void Merge(int array[],int start, 
int mid, int end) { .....
                            
                            
                                分类:
其他好文   时间:
2014-04-27 22:18:38   
                                阅读次数:
484
                             
                    
                        
                            
                            
                                #include using namespace std;int fun(int a){ 
if(a==1) return 0; for(int i=2;i>M; while(M--) { int i,sum=0; cout>N; ...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 22:06:54   
                                阅读次数:
578