码迷,mamicode.com
首页 >  
搜索关键字:open gl    ( 25180个结果
关于sqlserver2012重启后ID自增1000的问题解决方案
1.Open"SQLServerConfigurationManager"2.Click"SQLServerServices"ontheleftpane3.Right-clickonyourSQLServerinstancenameontherightpane->Default:SQLServer(...
分类:数据库   时间:2014-07-09 20:31:41    阅读次数:418
为什么要提倡“Design Pattern呢
为什么要提倡“Design Pattern呢?根本原因是为了代码复用,增加可维护性。那么怎么才能实现代码复用呢?面向对象有几个原则:开闭原则(Open Closed Principle,OCP)、里氏代换原则(Liskov Substitution Principle,LSP)、依赖倒转原则(Dep...
分类:其他好文   时间:2014-07-09 20:15:39    阅读次数:213
window.open窗口居中和窗口最大化
1、window.open()参数window.open(pageURL,name,parameters)其中:pageURL为子窗口路径name为子窗口句柄parameters为窗口参数(各参数用逗号分隔),如常用的'height=100,width=400,top=0,left=0,toolba...
分类:Windows程序   时间:2014-07-09 19:35:19    阅读次数:403
install the Mondo Rescue utility in Ubuntu 12.04 or 12.10.
1. Open a terminal window.2. Type in the following commands, then hit Enter after each.wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{pri...
分类:其他好文   时间:2014-07-09 17:51:26    阅读次数:272
关于file文件操作的头文件 【LINUX】 (转载)
转自:http://blog.csdn.net/figo77ll/article/details/3156052 Linux下如果要对文件进行读取访问,需要包含至少以下两个头文件:#inlcude #inlcude 其中fcntl.h包含了create和open命令,unistd包含了其他的诸如.....
分类:系统相关   时间:2014-07-09 17:31:08    阅读次数:224
文件00
00编写一个程序,接受用户的输入并保存为新的文件:def file_write(file_name): f = open(file_name, 'w') print('请输入内容【单独输入\':w\'保存退出】:') while True: write_some ...
分类:其他好文   时间:2014-07-08 22:10:19    阅读次数:353
POJ 1300 Door Man
判断是否欧拉回路。 很蛋疼的一道题,加上DFS判所有点是否连通就无限WA。(并查集也可判) 直接定理就AC了。都不知道所有点是不是在一个 连通块里面。 然后他们说:Your master is a particularly absent-minded lout and continually leaves doors open throughout a particular floo...
分类:其他好文   时间:2014-07-08 20:05:55    阅读次数:212
【Linux编程】socket编程
套接字是通信端点的抽象。文件描述符用open函数创建,而套接字描述符用socket函数创建。socket函数原型如下: int socket(int domain, int type, int protocol); // 返回值:成功返回套接字描述符,失败返回-1 domain域确定通信特性,不同的域表示地址的格式不同,表示域的常数以AF开头,表示地址族(address family)...
分类:系统相关   时间:2014-07-08 16:34:18    阅读次数:333
程序员技术练级攻略
伯乐人才网6月9日发表了《写给即将入行的程序员的一封信》,翻译自《An open letter to those who want to start programming》,我的朋友(他在本站的id是Mailper)告诉我,他希望在酷壳上看到一篇更具操作性的文章。因为他也是喜欢编程和技术的家伙,于是,我让他把他的一些学习Python和Web编程的一些点滴总结一下。于是他给我发来了一些他的心得...
分类:其他好文   时间:2014-07-08 16:20:52    阅读次数:453
A星寻路的lua实现
module("PathUtil", package.seeall) local _map_data         -- 地图数据 local _open_list        -- 开放节点 local _open_map         -- 开放节点,为了提高性能而加 local _close_map        -- 关闭节点 local _deleget...
分类:其他好文   时间:2014-07-08 10:36:34    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!