04 2017 档案
摘要:参考的这个博文,原博文有图片:http://lslin.iteye.com/blog/776325 (我只是为了方便写、copy一遍) dev-C++编写C/C++程序时,非常方便轻巧,但是今天学习多线程的时候发现编译器不能连接到Pthread.h中的函数,编译一直报错。 在网上寻找发现原来Dev-
阅读全文
摘要:public void replaceBlank(char string[],int length){ //防错处理 if(string == null || length<=0) return; //第一遍遍历,统计字符长度和空格数 int orignel_length=0; int countB
阅读全文
摘要:懒汉式:需要实例的时候new public class Singleton_Lazy { private static Singleton_Lazy mSingleton; private Singleton_Lazy (){} private static Singleton_Lazy getIn
阅读全文

浙公网安备 33010602011771号