新建项目如packEXE,添加外部文件f.exe作为嵌入的资源,如图:添加代码:using
System.Reflection;//++using System.IO;namespace packEXE{ /// /// MainWindow.xaml
的交互逻辑 /// ...
分类:
Web程序 时间:
2014-05-26 20:14:43
阅读次数:
450
今天神坑的GCPC 2013
B题啊,本来是个很简单的模拟+扫描线,却WA的不明不白经过几个人测试,不得不说一下,CSU OJ 的编译器肯定有点问题coj 1458#include
#include #include #include using namespace std;int b,c;stru...
分类:
其他好文 时间:
2014-05-26 19:46:46
阅读次数:
277
using System; using System.Collections.Generic;
using System.Web; using System.Net; using System.IO; using
System.Web.Services.Description; using Syst...
分类:
Web程序 时间:
2014-05-26 18:30:45
阅读次数:
306
1、新建文件CheckCode.aspx 前台不用写,后台代码为: using
System;using System.Data;using System.Configuration;using
System.Collections;using System.Web;using System.We....
分类:
其他好文 时间:
2014-05-26 18:04:47
阅读次数:
207
using System;using System.Drawing;using
System.Windows.Forms;using AForge.Video;using AForge.Video.DirectShow;namespace
CameraCapture{ public parti...
分类:
Web程序 时间:
2014-05-25 22:30:32
阅读次数:
335
using System.Windows;using
System.Windows.Input;namespace TestLauncher.Tools{ internal class DragDropHelper
{ public static readonly DependencyPr...
分类:
其他好文 时间:
2014-05-25 22:05:48
阅读次数:
515
HDU 4832 Chess
思路:把行列的情况分别dp求出来,然后枚举行用几行,竖用几行,然后相乘累加起来就是答案
代码:
#include
#include
#include
using namespace std;
typedef long long ll;
const ll MOD = 9999991;
const int N = 1005;
int t, n, m, ...
分类:
其他好文 时间:
2014-05-25 21:55:04
阅读次数:
280
1001
暴力
#include
#include
#include
using namespace std;
const int maxn = 100100;
int ll[maxn], rr[maxn];
struct node
{
int x, y, bj;
}e[maxn];
int main()
{
int cas = 1;
int T;
scanf("%d...
分类:
其他好文 时间:
2014-05-25 21:32:50
阅读次数:
268
多项式的加减乘除能够利用多项式的加减乘除进行运算,所以下面程序採用了多项式的加减乘除。多项式运算已经在《算法导论》第30章有简要的介绍,详细的请參考数学书。大整数加法:(利用书上公式轻松得出)//多项式加法-大数加法#include
#include using namespace std;#def...
分类:
其他好文 时间:
2014-05-25 20:41:33
阅读次数:
202
在Vista系统之后,微软为窗体程序提供了Aero磨砂的效果,如下图。那么用C#如何来实现这种磨砂效果呢?代码:using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;us...