[置顶] Indenting source code

摘要: Artistic Style 1.15.3AFree, Fast and Small Automatic FormatterforC,C++,C#,JavaSource CodesbyTal Davidson, Israel (E-mail:davidsont@bigfoot.com)Main home Pagehttp://sourceforge.netProject Pagehttp://www.sourceforge.net/projects/astyleArtistic Style is areindenter and reformatterofC, C++, C#and Javaso 阅读全文

posted @ 2013-12-05 09:19 初日 阅读(931) 评论(0) 推荐(0) 编辑

2017年6月13日

各种编码问题

摘要: 一.设置配置文件修改mysql的默认编码 查看编码: mysql> show variables like '%character%'; (1)关闭mysql服务 service mysql stop (2)修改 /etc/mysql/my.cnf (默认的安装路径) vim /etc/mysql/ 阅读全文

posted @ 2017-06-13 17:53 初日 阅读(203) 评论(0) 推荐(0) 编辑

2015年8月19日

How To Configure Logging And Log Rotation In Apache On An Ubuntu VPS

摘要: IntroductionThe Apache web server can be configured to give the server administrator important information about how it is functioning and what issues... 阅读全文

posted @ 2015-08-19 11:25 初日 阅读(312) 评论(0) 推荐(0) 编辑

2015年8月4日

网络tcp/ip资料

摘要: 1.LinuxTCP/IP协议栈分析,这是chinaunix.net论坛里的N人写的电子书,可以在这里下载PDF版本。http://blog.chinaunix.net/u2/85263/showart_1810785.html2.《TCP/IP详解》三卷书,PDF版本下载地址:《TCP/IP详解,... 阅读全文

posted @ 2015-08-04 23:09 初日 阅读(273) 评论(0) 推荐(0) 编辑

2015年7月8日

Apache指南:CGI动态页面

摘要: 概要相关模块相关指令mod_aliasmod_cgiAddHandlerOptionsScriptAliasCGI(公共网关接口[Common Gateway Interface])定义了网站服务器与外部内容协商程序之间交互的方法,通常是指CGI程序或者CGI脚本,是在网站上实现动态页面的最简单而常... 阅读全文

posted @ 2015-07-08 17:38 初日 阅读(1428) 评论(0) 推荐(0) 编辑

Windows 7/8 64位下安装64位Apache 2.4.7

摘要: 准备软件:VC11运行库64位的apache版本传送门:http://www.apachelounge.com/download/安装步骤:修改httpd.conf配置文件37行: ServerRoot "apache目录" (e.g. 'c:\apache24'改为 d:\apache)217行:... 阅读全文

posted @ 2015-07-08 16:43 初日 阅读(302) 评论(0) 推荐(0) 编辑

2015年5月5日

c++class 内存布局

摘要: 1 #include 2 using namespace std; 3 class base1 4 { 5 int a; 6 double b; 7 char c; 8 }; 9 int main()10 {11 base1 b;12 return 1;1... 阅读全文

posted @ 2015-05-05 20:48 初日 阅读(1398) 评论(0) 推荐(0) 编辑

2015年4月10日

c/c++中typedef详解

摘要: 1. typedef 最简单使用1 typedef long byte_4; // 给已知数据类型long起个新名字,叫byte_4 你可以在任何需要 long 的上下文中使用 byte_4。注意 typedef 并不创建新的类型。它仅仅为现有类型添加一个同义字。2. typedef 修饰数组1 ... 阅读全文

posted @ 2015-04-10 10:11 初日 阅读(405) 评论(0) 推荐(0) 编辑

2015年3月10日

classpath、path、JAVA_HOME的作用及JAVA环境变量配置

摘要: CLASSPATH是什么?它的作用是什么?它是javac编译器的一个环境变量。它的作用与import、package关键字有关。当你写下improt java.util.*时,编译器面对import关键字时,就知道你要引入java.util这个package中的类;但是编译器如何知道你把这个pack... 阅读全文

posted @ 2015-03-10 14:46 初日 阅读(249) 评论(0) 推荐(0) 编辑

2014年9月29日

计算image 积分图

摘要: 1 // testopencv.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include 6 #include 7 #include 8 #include 9 using namespace std;10 using nam... 阅读全文

posted @ 2014-09-29 17:19 初日 阅读(295) 评论(0) 推荐(0) 编辑

2014年9月13日

腾讯2015校招笔试题

摘要: 待添加 阅读全文

posted @ 2014-09-13 20:33 初日 阅读(3758) 评论(1) 推荐(0) 编辑

导航