Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o...
分类:
其他好文 时间:
2014-08-26 00:18:35
阅读次数:
290
当图片不能设为背景的时候,图片上需要配文字,文字div就需要设成浮动层position:absolute;但是这时,这个浮动div无法显示在img中间位置,不同分辨率的移动设备会显示位置错乱这时可以将浮动div设成相对body的定位,.bonus-back { height: 256px; wi.....
分类:
其他好文 时间:
2014-08-25 20:46:24
阅读次数:
175
----2014.8.25日期类型转成刻度字符串select to_char(back_date,'DD-MM-YYYY HH:MI:SS') from BACKUP_SERVICE_LOG;insert into出错可以做Log记录EXECUTE DBMS_ERRLOG.CREATE_ERROR_...
分类:
数据库 时间:
2014-08-25 18:48:44
阅读次数:
243
Representing a shout-to his fans in China, the What the KD 6 may be the product of NIKEiD's Player Edition Program. Kevin Durant carried the kicks las...
分类:
其他好文 时间:
2014-08-25 13:17:14
阅读次数:
182
//二分法查询 Console.Write("请输入数据个数:"); int n = Convert.ToInt32(Console.ReadLine()); int[] no = new int[n]; ...
分类:
其他好文 时间:
2014-08-25 13:16:04
阅读次数:
201
缓冲的几个基本概念
缓冲的作用:减少系统read和write的次数。
全缓冲
系统标准I/O缓冲区被写满时才进行真正的I/O操作。
磁盘文件一般使用全缓冲
全缓冲使用malloc来分配缓冲区
行缓冲
系统遇到换行符时进行真正的I/O操作。
Te...
分类:
其他好文 时间:
2014-08-25 11:57:14
阅读次数:
214
//降序排序 Console.Write("请输入数据的个数:"); int n = Convert.ToInt32(Console.ReadLine()); int []sz=new int[n]; ...
分类:
其他好文 时间:
2014-08-25 01:02:03
阅读次数:
267
namespace ConsoleAppSyncDownload{ class Program { static void Main(string[] args) { WebClient webClient = new WebClient(); //Console.Write("输入下载文件地址:"...
分类:
Web程序 时间:
2014-08-24 23:44:53
阅读次数:
309
1.点击返回键,提示用户是否要退出 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { AlertDialog.Builder dia...
分类:
其他好文 时间:
2014-08-24 22:10:23
阅读次数:
244
看了unix环境高级编程第三章,把代码也都自己敲了一遍,另主要讲解了一些IO函数,read/write/fseek/fcntl;这里主要是c函数,比较容易,看多了就熟悉了。对fcntl函数讲解比较到位,它可以得到和改变打开文件的属性(只读,只写等等,注意后面和stat区别),下面记录了自己在学习.....
分类:
其他好文 时间:
2014-08-24 22:09:33
阅读次数:
291