摘要:        
函数原型:extern void *memcpy(void *dest, void *src, unsigned int count) 参数说明:dest为目的字符串,src为源字符串,count为要拷贝的字节数。 所在库名:#include 函数功能:将字符串sr...    阅读全文
posted @ 2012-11-03 21:33
N3verL4nd
阅读(207)
评论(0)
推荐(0)
        
            
        
        
摘要:        
函数原型:extern char *strtok(char *string, char *seps) 参数说明:string为源字符串,seps为指定的分隔符,是一个分隔字符串的集合。 所在库名:#include 函数功能:将字符串string中所有在seps中出现...    阅读全文
posted @ 2012-11-03 21:32
N3verL4nd
阅读(128)
评论(0)
推荐(0)
        
            
        
        
摘要:        
原型:extern int isalnum(int c); 用法:#include 功能:判断字符c是否为字母或数字 说明:当c为数字0-9或字母a-z及A-Z时,返回非零值,否则返回零。 举例: #include #include int main() { int c; ...    阅读全文
posted @ 2012-11-03 21:32
N3verL4nd
阅读(168)
评论(0)
推荐(0)
        
            
        
        
摘要:        
函数原型:extern int memcmp(void *str1, void *str2, unsigned int n) 参数说明:str1和str2为指定作比较的字符串,比较两个字符串的前n个字节。 所在库名:#include 函数功能:比较字符串str1和s...    阅读全文
posted @ 2012-11-03 21:31
N3verL4nd
阅读(509)
评论(0)
推荐(0)
        
            
        
        
摘要:        
How many prime numbers Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7324 Accepted Su...    阅读全文
posted @ 2012-11-03 21:30
N3verL4nd
阅读(135)
评论(0)
推荐(0)
        
            
        
        
摘要:        
利用二进制扫描的方法快速的计算ab mod c,显然用常规方法计算74237 mod 4233计算量过大。 基本原理:(a×b)mod c=((a mod c)×b)mod c 例如:35 mod 7=3(101)2 mod 7=((3(100)2 mod 7)×3)mod 7=((9(...    阅读全文
posted @ 2012-11-03 21:29
N3verL4nd
阅读(123)
评论(0)
推荐(0)
        
            
        
        
摘要:        
【Java】 Java编程规范(第三版)---Java四大名著----JamesGosling(Java之父) 【原 书 名】 The Java Language Specification (3rd Edition) 【原出版社】 Addison-Wesley 【作 ...    阅读全文
posted @ 2012-11-03 21:29
N3verL4nd
阅读(170)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号