摘要:
//N个数全排列的非递归算法 #include"stdio.h" void swap(int &a, int &b) { int temp; temp = a; a = b; b = temp; } /* 根据当前的排列p,计算下一个排列。 原则是从1234–>4321,若p已经是最后一个排列,传回... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(500)
评论(0)
推荐(0)
摘要:
#include "time.h" #include "stdio.h" #include "stdlib.h" int main() { system ("color b2"); time_t start,end; start = time(NULL); system("pause"); end = time(NULL... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(123)
评论(0)
推荐(0)
摘要:
当前时间: 本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/702545 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(258)
评论(0)
推荐(0)
摘要:
/* Netbeans连接数据库 NetBeans项目的“项目属性”中“库”一栏中。Tab页“编译和运行”中已经加上jdbc的驱动文件 */ Connection conn = null;//连接数据库的对象 PreparedStatement pstmt = null;//执行sql对象 try { try { ... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(487)
评论(0)
推荐(0)
摘要:
本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/702538 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(1110)
评论(0)
推荐(0)
摘要:
#include"stdio.h" #include"pthread.h" #include"unistd.h" static shdata=4; void *create(void *arg) { printf("New pthread......\n"); printf("shared data=%d \n",shdata); retu... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(194)
评论(1)
推荐(0)
摘要:
public class test1 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Vector v = new Vector(); v.ad... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(254)
评论(0)
推荐(0)
摘要:
public class DataActivity extends Activity { private EditText filenameText; private EditText contentText; private TextView resultView; private static final String... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(116)
评论(0)
推荐(0)
摘要:
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mobileEditText = (EditText) this.findViewById(R.id.app_name); ... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(148)
评论(0)
推荐(0)
摘要:
public class DataActivity extends Activity { private EditText filenameText; private EditText contentText; private TextView resultView; private static final String TAG = "Data... 阅读全文
posted @ 2014-08-10 10:03
商商-77
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号