码迷,mamicode.com
首页 >  
搜索关键字:fun    ( 10813个结果
poj 2942 Knights of the Round Table - Tarjan
Being a knight is a very attractive career: searching for the Holy Grail, saving damsels in distress, and drinking with the other knights are fun thin ...
分类:其他好文   时间:2017-08-10 22:24:37    阅读次数:182
Round #423 C. String Reconstruction(Div.2)
Ivan had string s consisting of small English letters. However, his friend Julia decided to make fun of him and hid the string s. Ivan preferred makin ...
分类:其他好文   时间:2017-08-08 17:48:09    阅读次数:181
静态函数调用非静态函数的小样例
// tt.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" class A { public: void fun() { printf("1111111111"); } static void fun2() { fun(); } }; int _tmain(i ...
分类:其他好文   时间:2017-08-08 11:03:07    阅读次数:114
php如何去掉二维数组中重复的元素
$arr=array("1"=>array("a","b "),"2"=>array("a","c"),"3"=>array("a","b"));实现结果:$arr=array("1"=>array("a","b "),"2"=>array("a","c"),);fun ...
分类:编程语言   时间:2017-08-07 11:47:15    阅读次数:142
《C++ Primer》 第四版 第7章 函数
《C++ Primer》 第四版 第7章 函数 思维导图笔记 超级具体。很具体,图片版,有利于复习查看 http://download.csdn.net/detail/onlyshi/9479711 $(function () { $('pre.prettyprint code').each(fun ...
分类:编程语言   时间:2017-08-07 11:41:41    阅读次数:151
Python学习-一个简单的计时器
在实际开发中,往往想要计算一段代码执行多长时间,以下我将该功能写入到一个函数里面,仅仅要在每一个函数前面调用该函数就可以,见以下代码: # #一个记时器,仅仅要在函数前面写上@fun_timer就可以 import time from functools import wraps def fun_t ...
分类:编程语言   时间:2017-08-06 19:35:08    阅读次数:208
Python 学习第二天
交互式命令行中可使用help(fun_name)查看fun_name函数的帮助信息 数据类型转换 int() float(); str(); bool(); 定义一个函数使用def 例如:def nes_def(x): 然后在缩进体中书写代码 使用return返回函数值 如果没有return 则返回 ...
分类:编程语言   时间:2017-08-05 23:40:38    阅读次数:383
POSTGRESQL 存储过程实战
转了N多的SQL语句,可是自己用时,却到处是坑啊,啊,啊!!!!!!!!!!!!!!! 想写一个获取表中最新ID值. 上代码 下面要写个存储过程,以获取表中ID的最大值: 看了官方文档,人家就是这么用的: 你确定你看清楚了????? 确定你读完读懂了说明书????? 总结一下: 1、存储过程(FUN ...
分类:数据库   时间:2017-08-05 13:21:53    阅读次数:198
[macOS] git忽略所有的.DS_Store文件
最彻底的方法如下: 输入以下内容 再执行一下命令 Have fun with macOS ...
分类:系统相关   时间:2017-08-05 11:04:52    阅读次数:157
cp显示进度条
#!/bin/bash trap 'exit_fun' 2 usage(){ echo "Usage: `basename $0` \"src file\" \"dst file\"" exit 1 } exit_fun(){ echo -e "\033[?25h" kill -9 $(ps -ef... ...
分类:其他好文   时间:2017-08-04 17:13:45    阅读次数:264
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!