按类别查询搜索结果
关于关键词 的检测结果,共 628
杨艳杰 | 2014-12-10 08:03:14 | 阅读(1910) | 评论(0)
点击(此处)折叠或打开using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace @class{    class Program &nbs...【阅读全文】
杨艳杰 | 2014-12-09 21:49:34 | 阅读(2040) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;...【阅读全文】
杨艳杰 | 2014-12-09 21:46:50 | 阅读(1730) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;...【阅读全文】
贾雨超 | 2014-12-09 19:00:19 | 阅读(1630) | 评论(0)
using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;...【阅读全文】
杨艳杰 | 2014-12-09 14:57:56 | 阅读(1750) | 评论(0)
using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;...【阅读全文】
我爱网王 | 2014-12-09 14:52:44 | 阅读(280) | 评论(0)
  软件发布后,如果不希望未经授权的用户使用,可以设置软件密码,启动软件后,必须正确输入密码才能进行后续操作。  作为教学演示,这里简单地将密码赋值给一个变量,编译后不能更改,如果想更改,必须重新编译。  用户有3次输入密码的机会,3次输入错误,软件自动退出。通过for循环,连续3次读取用户输入的密...【阅读全文】
青竹玉简 | 2014-12-08 14:12:36 | 阅读(22740) | 评论(0)
D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE具体步骤:开始->运行->输入cmd 按运行出来黑色DOS框。(以下步骤因人而异,要看你的C++装在哪个盘了。我是D盘所以按照D盘的说)输入d:按回车(如果你的是C盘 那就c: 按回车 以下差异不一一说明)自动跳入d盘输入cd Program Files\Microsoft Visual Stud...【阅读全文】
【C#/.net】 C#画圆
杨艳杰 | 2014-11-29 23:45:09 | 阅读(1320) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Threading;using System.Text;...【阅读全文】
【C#/.net】 C#画正弦函数
杨艳杰 | 2014-11-29 23:41:40 | 阅读(2640) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Threading;using System.Text;...【阅读全文】
杨艳杰 | 2014-11-29 23:37:04 | 阅读(2990) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Threading;using System.Text;...【阅读全文】
【C#/.net】 C#画直线
杨艳杰 | 2014-11-29 23:17:32 | 阅读(1190) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Threading;using System.Text;...【阅读全文】
644924073 | 2014-11-28 22:57:03 | 阅读(660) | 评论(0)
方法一:WINDOWS API画法 //获取要绘制的窗口句柄 Image img = GetWindow(this.tabPage12.Handle); //在母容器上创建图形对象 Graphics gOut = mOut.pnlOut.CreateGraphics(); //在指定位置按指定大小绘出image gOut.DrawImage((Image)img, form1.pnlImage.DisplayRectangle, this.tabPage12.DisplayRectangle, Gra...【阅读全文】
杨艳杰 | 2014-11-28 20:37:07 | 阅读(1250) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace multiple{    public partial class Form1 : Form    {        p...【阅读全文】
杨艳杰 | 2014-11-28 20:30:05 | 阅读(600) | 评论(0)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading;using S...【阅读全文】
【C#/.net】 C#画滑动的圆
杨艳杰 | 2014-11-28 16:52:53 | 阅读(670) | 评论(0)
点击(此处)折叠或打开using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using Syst...【阅读全文】
【C#/.net】 样判断闰年
高一生一世姜 | 2014-11-28 14:24:31 | 阅读(1500) | 评论(0)
#include <stdio.h>int main(){int year,result=0;    printf("输入一个年份:\n");scanf("%d",&year);if(year%100==0)    {if(year%400==0)result=1;}else if(year%4==0)result=1;        if(result==1) printf("\n%d是闰年",year);else   ...【阅读全文】
【C#/.net】 memset使
xiaotui11 | 2014-11-26 12:15:20 | 阅读(700) | 评论(0)
Memset中无穷大常量的设定技巧如果问题中各数据的范围明确,那么无穷大的设定不是问题,在不明确的情况下,很多程序员都取0x7fffffff作为无穷大,因为这是32-bit int的最大值。如果这个无穷大只用于一般的比较(比如求最小值时min变量的初值),那么0x7fffffff确实是一个完美的选择,但是在更多的情况下,0x7fff...【阅读全文】
喜欢你的微 | 2014-11-20 11:24:05 | 阅读(400) | 评论(0)
C语言规定:如果指针变量p已指向数组中的一个元素,则p+1指向同一数组中的下一个元素。引入指针变量后,就可以用两种方法来访问数组元素了。如果p的初值为&a[0],则: p+i和a+i就是a[i]的地址,或者说它们指向a数组的第i个元素。 *(p+i)或*(a+i)就是p+i或a+i所指向的数组元素,即a[i]。例如,*(p+5)或*(a...【阅读全文】
喜欢你的微 | 2014-11-11 11:16:37 | 阅读(270) | 评论(0)
【例7-18】把一个整数按大小顺序插入已排好序的数组中。为了把一个数按大小插入已排好序的数组中,应首先确定排序是从大到小还是从小到大进行的。设排序是从大到小进序的,则可把欲插入的数与数组中各数逐个比较,当找到第一个比插入数小的元素i时,该元素之前即为插入位置。然后从数组最后一个元素开始到该元素为止,逐...【阅读全文】
【C#/.net】 C#调c dll
青竹玉简 | 2014-11-10 09:47:30 | 阅读(670) | 评论(0)
extern “C” __declspec(dllexport)  BOOL  Func(char* s1,char** s2){    string rt = "xxxxx";    strcpy(*s2,rt.c_str(),rt.length());    return false;}LIBRARY"SM3.DLL"EXPORTScreate_...【阅读全文】