using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace 静态成员{ class Program { static void
Main(string...
分类:
其他好文 时间:
2014-05-19 10:38:16
阅读次数:
263
这是效果图:activity_main.xml0106071213listview_item.xml
listview每一条0109101415footer.xml作为每一页翻到最后时显示:正在加载中.....01101115162122下面是主界面:01public
class MainActiv...
分类:
移动开发 时间:
2014-05-19 09:10:21
阅读次数:
368
给定n
k以及n个人已参加的比赛数,让你判断最少还能参加k次比赛的队伍数,每对3人,每个人最多参加5次比赛#include using namespace
std;int main(){ int n,k, cnt = 0; cin >> n >> k; for(int i = 0 ...
分类:
其他好文 时间:
2014-05-19 08:40:56
阅读次数:
239
浅析C/C++中的switch/case陷阱 先看下面一段代码:
文件main.cpp#includeusing namespace std;int main(int argc, char *argv[]){ int a
=0; switch(a) { case ...
分类:
编程语言 时间:
2014-05-19 07:08:14
阅读次数:
429
#include #include int main(/*int argc, char const
*argv[]*/){ void * target; time_t now = time(NULL); if(now & 1) target =
&&odd; else target = &&e...
分类:
其他好文 时间:
2014-05-18 20:27:53
阅读次数:
306
首先写一段代码如下:namespace ConsoleApplication3{ class
Program { static void Main(string[] args) { Console.WriteLine("Hello, ...
分类:
数据库 时间:
2014-05-18 20:17:54
阅读次数:
468
public class AllSort{ static String[] buf =
{"1","2","44","7"}; public static void main(String[] args) { perm(buf, 0, 3);
}...
分类:
其他好文 时间:
2014-05-18 20:02:39
阅读次数:
343
#include int main(void){ printf("hello
cnblogs!\n"); return 0;}
分类:
其他好文 时间:
2014-05-18 19:50:02
阅读次数:
245
package edu.sjtu.erplab.io;import
java.util.Random;public class RandomTest { public static void main(String[]
args) { int max=20; int...
分类:
编程语言 时间:
2014-05-17 18:04:42
阅读次数:
239
maven
编译部署src/main/java下的资源文件maven默认会把src/main/resources下的所有配置文件以及src/main/java下的所有java文件打包或发布到target\classes下面,但是现实我们可能会在src/main/java下面也放置一些配置文件如hib...
分类:
编程语言 时间:
2014-05-17 18:02:49
阅读次数:
284