码迷,mamicode.com
首页 >  
搜索关键字:long live the queen    ( 22219个结果
Java宝典(一)
-switch语句能作用在byte上,能否作用在long上,能否作用在String上?-在switch(expr1)中,expr1只能是一个整数表达式或者枚举常量,整数表达式可以是int基本类型或Integer包装类型,由于byte,short,char都可以隐式转换为int,所以这些类型以及这些类...
分类:编程语言   时间:2014-05-08 20:32:56    阅读次数:371
字符串转变成数字
C标准库了提供了 atoi, atof, atol, atoll(C++11标准) 函数将字符串转换成int,double, long, long long 型。 char str[] = "15.455"; double db; int i; db = atof(str); /...
分类:其他好文   时间:2014-05-08 19:45:22    阅读次数:246
linux内核学习:中断
编程相关注册中断int request_irq( unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev) typede...
分类:系统相关   时间:2014-05-07 17:58:00    阅读次数:415
三、Java基础知识要点合集
1、数据类型 Java的数据类型分为基本数据类型和引用数据类型。 a, 基本数据类型包括:byte, boolean, char, short, int, long, float, double; b, 每个基本数据类型都有相应的引用类型,比如int -> Integer,char -> ch...
分类:编程语言   时间:2014-05-07 17:54:03    阅读次数:417
Topcoder SRM 619 DIv2 500 --又是耻辱的一题
这题明明是一个简单的类似约瑟夫环的问题,但是由于细节问题迟迟不能得到正确结果,结果比赛完几分钟才改对。。耻辱。代码:#include #include #include #include #include #define ll long longusing namespace std;#define...
分类:其他好文   时间:2014-05-07 17:35:47    阅读次数:290
HDU2492 Ping pong
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents Problem Description N(3<=N<=20000) ping pong players live along a west-east street(consider the street as a line segment). Each playe...
分类:其他好文   时间:2014-05-07 08:33:20    阅读次数:334
zoj3781 Paint the Grid Reloaded --- 缩点 bfs
╮(╯▽╰)╭水题 相连的相同色块缩成点,和相邻的不同色块建边。 以每一个点为起点bfs,求最小答案。 #include #include #include #include #include #include #include #include #include #define inf 0x3f3f3f3f #define ll long long #define...
分类:其他好文   时间:2014-05-07 08:15:59    阅读次数:328
No! More!! Long!!! Days... at Work!!!!
Nido Framework at Use - The diagram below shows how Nido Framework reduces the size of your DAL and BLL. Nido Framework is a reusable and highly generic code library developed using Microsoft ....
分类:其他好文   时间:2014-05-07 07:22:40    阅读次数:333
解决live CD方式启动Ubuntu系统不能启动openssh-server服务
当直接从Live CD镜像(例如从U盘)启动Ubuntu系统时,如果想要安装sshd服务,那么需要安装openssh-server软件包,如果用apt-get install的方式安装不了就换用aptitude安装,安装成功后却发现启动不了ssh服务,如下所示:...
分类:其他好文   时间:2014-05-07 07:02:43    阅读次数:306
C语言多线程pthread库相关函数说明
线程相关操作说明 一 pthread_t pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义: typedef unsigned long int pthread_t; 它是一个线程的标识符。 二 pthread_create 函数pthre...
分类:编程语言   时间:2014-05-06 09:46:36    阅读次数:505
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!