首先声明,Linux的高手请直接单击网页右上角退出。对于linux的新手来说,安装linux操作系统是比较麻烦的一件事,这次为大家带来RedHatEnterpriseLinux664位安装的详细教程。本次演示仍然需要用到虚拟机,那我们就一步一步来进行,从创建新的虚拟机开始。这次我们选择自定义。接..
分类:
系统相关 时间:
2015-03-28 06:35:16
阅读次数:
355
菜鸟第一次发帖。。好害怕#include
#include
int main()
{
int a[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
int i,j,num,q,year,day;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGR...
分类:
编程语言 时间:
2015-03-22 09:18:19
阅读次数:
160
第16例:<!--在网页主体中动态却换内容--><title>文件引用</title><divstyle="color:red;"><center><ahref="index.php?id=index">首页</a><ahref="index.php?id=second">简介</a></center></div><?phpsw..
分类:
Web程序 时间:
2015-03-21 14:13:37
阅读次数:
216
近期本人在学习linux时,安装Red Hat Linux9后,可是上不了网,弄得查资料还得切换到虚拟机上去,特耗时间。还好没有疯掉!首先,测试下你的linux看是否是这类问题,输入ping www.163.com,出现下面的提示,那么这个问题就对了。主要原因:由于VMware WorkStatio...
分类:
其他好文 时间:
2015-03-21 13:57:16
阅读次数:
127
题目链接:Sort Colors
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will u...
分类:
其他好文 时间:
2015-03-20 22:01:20
阅读次数:
169
【枚举类型】只能取特定值中的一个。使用enum关键字。是java.lang.Enum类型。【程序分析】public enum MyColor {red,yellow,green};MyColor mc = new MyColor();switch(m){ ...}
分类:
编程语言 时间:
2015-03-20 21:57:45
阅读次数:
134
编译安装 gcc 4.9并验证使用
1. 准备环境(GCC 编译器)
centOS 6.3
cat /proc/version
Linux version 2.6.32-279.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1...
分类:
其他好文 时间:
2015-03-20 20:33:14
阅读次数:
140
*****C++ Primer 第五版第2章学习笔记**********实验代码在Red Hat 6.6或VS 2013中调试**********文章内容依据当前知识撰写,存在认识的局限性*****今天学习C++ Primer 的第2章,还没有看完,先写一点看书的心得和笔记。对象类型决定对象包含的数...
分类:
编程语言 时间:
2015-03-20 20:05:40
阅读次数:
188
Hello world EOF 基本选择器 1. 元素(类型)选择器div{ color: red;} 2. 类选择器.block-end{ color: #000;} 3. ID选择器#content{ color: blue; } 4. 通用元素选择器,匹配任何元素(...
分类:
Web程序 时间:
2015-03-20 18:14:10
阅读次数:
169
题目链接:sort-colors
import java.util.Arrays;
/**
*
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the or...
分类:
其他好文 时间:
2015-03-20 16:32:00
阅读次数:
156