fetch_row转换成数组这个有0123下标的
fetxh_array转换不仅有数字下标还有字段名mysql_close($connent)关闭数据库连接type=file
分类:
其他好文 时间:
2014-05-27 03:05:54
阅读次数:
253
原文:http://www.crifan.com/csharp_call_explorer_to_open_destinate_folder_and_select_specific_file/C#中调用资源管理器(Explorer.exe)打开指定文件夹
+ 并选中指定文件 + 调用(系统默认的播放...
分类:
其他好文 时间:
2014-05-27 02:27:53
阅读次数:
496
一.什么是redis
?其官方介绍是:Redisiswhatiscalledakey-valuestore,oftenreferredtoasaNoSQLdatabase.Redis
is an open source, BSD licensed, advancedkey-value store.I...
分类:
其他好文 时间:
2014-05-27 02:16:59
阅读次数:
318
父类:class Printer{ void open(){
System.out.print("Open"); } void close(){ System.out.print("close"); } void
print(...
分类:
移动开发 时间:
2014-05-27 02:00:57
阅读次数:
395
游戏是一种很耗费资源的应用,特别是在移动设备中的游戏,性能优化是非常重要的纹理图集(Texture Atlas)也称为精灵表(Sprite
Sheet),它是把许多小的精灵图片组合到一张大图里面。使用纹理图集(或精灵表)有如下主要优点:减少文件读取次数,读取一张图片比读取一堆小文件要快。减少Open...
分类:
其他好文 时间:
2014-05-24 04:49:46
阅读次数:
346
1.被客户不断变化的需求 “折磨”第一次需求 class Printer{ void Open(){
System.out.println("Open"); } void Close(){ System.out.println("Close");...
分类:
其他好文 时间:
2014-05-24 01:28:44
阅读次数:
252
有时候,我们想通过JS实现一个的新开标签的效果,此时我们想到了window.open方法实现。那么window.open到底应该怎么使用呢?我们知道window.open可以新开窗口或标签页(这通常和浏览器的设置选项有关),载入指定的URL到新的或已存在的窗口中,并返回代表那个窗口的window对象...
设计模式的使用,增加了代码的可维护性、可扩展性、可复用性和灵活性,而设计模式的六大原则为知道方针,也是设计模式的核心。
设计模式中常用的六大原则为:
一、单一职责原则(Single Responsibility Principle,SRP)
定义:一个对象应该只包含单一职责,并且该这则被完整的封装在一个类当中。确切的解释是,就一个类...
分类:
其他好文 时间:
2014-05-18 18:45:12
阅读次数:
238
【题目】
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not.
【题意】
判断给定的字符串是否是合法的...
分类:
其他好文 时间:
2014-05-18 10:08:11
阅读次数:
327
文件对象内建方法列表
文件对象的方法
操作
file.close()
关闭文件
file.fileno()
返回文件的描述符(file descriptor,FD,整数值)
file.flush()
刷新文件的内部缓冲区
file.isatty()
判断fil...
分类:
编程语言 时间:
2014-05-18 06:23:28
阅读次数:
197