码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
AutoResetEvent
private static readonly AutoResetEvent autoResetEvent = new AutoResetEvent(false); private static void Main() { try ...
分类:其他好文   时间:2015-11-06 10:53:04    阅读次数:215
configurationmanager.getsection usage
public static void CreateAppSettings(){ // Get the application configuration file. System.Configuration.Configuration config = ConfigurationManag...
分类:其他好文   时间:2015-11-06 10:48:42    阅读次数:202
结构体Struct
#include void structOne(){ //定义一个名为Student的结构体类型 struct Student { int age; //年龄 float score; //成绩 char *name; //名字 }; //定义结构体变量 s...
分类:其他好文   时间:2015-11-06 09:34:44    阅读次数:288
IO文件列表和内部类
package day01;import java.io.File;import java.io.FilenameFilter;public class TestFile01 { public static void main(String[] args) { new TestF...
分类:其他好文   时间:2015-11-06 06:51:04    阅读次数:156
键盘上移
- (void)keyboardFrameChange:(NSNotification *)info{ 1.获取键盘最后的y值 NSDictionary *keyBoardDict = info.userInfo; CGRect keyBoardFrame = [key...
分类:其他好文   时间:2015-11-06 00:16:57    阅读次数:126
Java 继承 神奇的 " + " 号
示例程序:public class Fruit{ public String toString() { return "Fruit toString."; } public static void main(String args[]) {...
分类:编程语言   时间:2015-11-06 00:13:52    阅读次数:230
Cookie案例
//写入Cookie案例: protected void Button1_Click(object sender, EventArgs e) { HttpCookie cookie=new HttpCookie("MyCook");//初使化并设置Cookie的名称 DateTime...
分类:其他好文   时间:2015-11-06 00:01:00    阅读次数:185
LeetCode Combinations (DFS)
题意: 产生从1~n的k个数的所有组合,按升序排列并返回。思路: DFS一遍即可解决。注意升序。 1 class Solution { 2 public: 3 vector> ans; 4 int nn, kk; 5 void DFS(vector& seq,int n,...
分类:其他好文   时间:2015-11-05 23:54:32    阅读次数:240
Java 继承 反汇编 class A { } 执行结果
源代码:public class ExplorationJDKSource { /** * @param args */ public static void main(String[] args) { System.out.println(new A())...
分类:编程语言   时间:2015-11-05 23:52:03    阅读次数:271
简单抽奖
抽奖是随机的,所以我使用随机数进行抽奖。 1 #include 2 #include 3 #include 4 5 void choices(int num);//抽奖选项对应表 6 7 int main() 8 { 9 int num,i=10000;10 srand...
分类:其他好文   时间:2015-11-05 22:31:29    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!