-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
编程相关注册中断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
1、数据类型 Java的数据类型分为基本数据类型和引用数据类型。 a, 基本数据类型包括:byte,
boolean, char, short, int, long, float, double; b, 每个基本数据类型都有相应的引用类型,比如int ->
Integer,char -> ch...
分类:
编程语言 时间:
2014-05-07 17:54:03
阅读次数:
417
这题明明是一个简单的类似约瑟夫环的问题,但是由于细节问题迟迟不能得到正确结果,结果比赛完几分钟才改对。。耻辱。代码:#include #include
#include #include #include #define ll long longusing namespace std;#define...
分类:
其他好文 时间:
2014-05-07 17:35:47
阅读次数:
290
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
线程相关操作说明 一 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
Private Declare Function CreateWindowEx Lib
"user32" Alias "CreateWindowExA" (ByVal dwE As Long, ByVal lpC As String, ByVal
lpW As String, ByVal dwS A...
After a long and successful day of preparing food for the banquet, it is time to clean up. There is a list of n jobs to do before the kitchen can be closed for the night. These jobs are indexed from 1...
分类:
其他好文 时间:
2014-05-04 18:25:07
阅读次数:
384
packagecom.smilezl.scrapy;importjava.io.BufferedReader;importjava.io.IOException;importjava.io.InputStreamReader;importjava.net.HttpURLConnection;importjava.net.URL;importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.Statement;importjava.u..
分类:
Web程序 时间:
2014-05-04 17:35:41
阅读次数:
341