指针数组 && 数组指针
char (*ptr)[5]; //定义一个指向数组指针ptr,指向包含5个char类型的数组
char *a[5]; //定义一个指针数组a,包含5个char*类型指针
#include
int main(void)
{
char *a[5]={"red","white","blue","dark","green"};
print...
分类:
编程语言 时间:
2014-10-21 12:15:22
阅读次数:
182
题目描述:Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order re...
分类:
其他好文 时间:
2014-10-21 00:43:54
阅读次数:
304
Linux环境:LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarchDistributor ID: RedHatEnterpriseASDescription: Red Hat Ent...
分类:
数据库 时间:
2014-10-20 11:25:20
阅读次数:
272
利用less写css一下是less写法:#div{ color:red; .span{ border:none; .btn-1, ....
分类:
其他好文 时间:
2014-10-19 21:14:35
阅读次数:
194
each of which 在以下為 同位語,非關代。1. An urn contains two balls, each of which is known to be either white or black.2. Q. Many companies set a number of objec...
分类:
其他好文 时间:
2014-10-19 19:50:19
阅读次数:
211
code forces 148D Bag of mice (概率DP) ——black的专栏——waShaXiu...
分类:
其他好文 时间:
2014-10-19 14:24:25
阅读次数:
235
poj 3071 Football (概率DP)—— black的专栏 —— waShaXiu...
分类:
其他好文 时间:
2014-10-19 11:41:00
阅读次数:
200
安装Red Hat时按照步骤一步步来的,最后安装完成点击启动虚拟机,黑色界面却提示system not found ....上网查阅了很多资料,也有很多人遇到同样的问题。提示错误的意识是从网卡启动,操作系统并没有找到。于是网友的回答有:进入BIOS设置,将CD/ROM设为首先启动,照此做了,还是没有...
分类:
系统相关 时间:
2014-10-19 11:22:31
阅读次数:
208
locate; whereis ; which参考:http://blog.csdn.net/tianlesoftware/article/details/5954040Red Hat Package Manager(简称RPM)参考:http://www.jb51.net/os/RedHat/12...
分类:
系统相关 时间:
2014-10-18 22:15:30
阅读次数:
281
poj 3744 Scout YYF I (概率DP+矩阵快速幂) —— black 的专栏 —— waShaXiu...
分类:
其他好文 时间:
2014-10-18 18:28:17
阅读次数:
235