C++ 11开发环境搭建(Windows Platform)
IDE:Code::Blocks 12.11版本
Compiler:TDM-GCC http://tdm-gcc.tdragon.net/ TDM64 Bundle GCC 4.8.1
问:什么是TDM-GCC?
答:A compiler suite for 32- and 64-bit Wi...
分类:
编程语言 时间:
2014-07-15 22:35:06
阅读次数:
307
文件夹如果有文件时,不可以直接删除。要先把里面的文件删完后才可以删文件夹。 public void deleteFile(File file) { if (file.exists()) {// 判断文件是否存在 if (file.isFile()) {// 判断是...
分类:
其他好文 时间:
2014-07-15 00:53:59
阅读次数:
167
1. Request和Response消息结构Request结构: METHOD path-to-resource HTTP-version-number HEAD requestbody(Optional)Response结构: HTTP-version...
分类:
其他好文 时间:
2014-07-14 22:16:13
阅读次数:
291
File类的常用静态方法:void AppendAllText(string path, string contents),将文本contents附加到文件path中bool Exists(string path)判断文件path是否存在string ReadAllText(string path)...
分类:
其他好文 时间:
2014-07-14 20:19:03
阅读次数:
279
ClassPathResource: String resource = ""; //相对路径 Resource resource = new ClassPathResource(resource); //获取当前类下,同一个包中的资源 Resource resource = new Cla...
分类:
编程语言 时间:
2014-07-14 14:36:17
阅读次数:
184
1、错误描述
七月 13, 2014 6:37:41 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [applicationContext.xml]
七月 1...
分类:
其他好文 时间:
2014-07-14 13:46:00
阅读次数:
651
1、错误描述
七月 13, 2014 6:34:41 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [applicationContext.xml]
七月 1...
分类:
移动开发 时间:
2014-07-14 13:09:26
阅读次数:
272
gcc 提供了大量的警告选项,对代码中可能存在的问题提出警 告,通常可以使用-Wall来开启以下警告: -Waddress -Warray-bounds (only with -O2) -Wc++0x-compat -Wchar-subscripts -Wimplicit-int -Wi...
分类:
其他好文 时间:
2014-07-13 19:28:03
阅读次数:
208
1. DataBases a.show databases; b.create database mydatabase; c.use mydatabase;2.Tables a.show tables; b.create table if not exists mytable ( ...
分类:
数据库 时间:
2014-07-13 19:07:23
阅读次数:
298
1、错误描述
2014-7-12 23:08:31 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext....
分类:
编程语言 时间:
2014-07-13 16:24:55
阅读次数:
332