会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的猫
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2011年5月22日
C++的模板类应用举例
摘要: 设有程序 $ cat -n base2.cpp 1 #include 2 using namespace std; 3 class Base
阅读全文
posted @ 2011-05-22 20:59 孤独的猫
阅读(454)
评论(0)
推荐(0)
C++的多重继承
摘要: 有如下的C++代码
阅读全文
posted @ 2011-05-22 20:28 孤独的猫
阅读(233)
评论(0)
推荐(0)
向脚本传递参数
摘要: 1.使用$# $ pg opt.sh #!/bin/sh #opt.sh
阅读全文
posted @ 2011-05-22 16:02 孤独的猫
阅读(287)
评论(0)
推荐(0)
perl中显示XML结构
摘要: $ cat -n simple1.pl 显示XML的代码 1 #!/usr/bin/perl 2 # simple.pl 3 use Data::Dumper;
阅读全文
posted @ 2011-05-22 11:21 孤独的猫
阅读(286)
评论(0)
推荐(0)
shell中引号的应用
摘要: 1. $ echo Hit to exit * 返回 Hit to exit gd1.pl invoice.xml inXML.dtd pdate.pl perl1.pl perl2.pl perl3.pl perl4.pl perl5.pl perl6.pl perl7.pl perl8.pl pfind.pl pwho.pl s2 simple1.pl simple.pl testalgor.pl tie1.pl 等 * 表示当前目录下的所有文件,如果要显示Hit to exit *字符,需要用 $ echo "Hit to exit *"
阅读全文
posted @ 2011-05-22 11:10 孤独的猫
阅读(216)
评论(0)
推荐(0)