02 2012 档案

摘要:View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 7 namespace CTest 8 { 9 class PropertyFileOperator10 {11 private StreamReader sr = null;12 /// <summary>13 /// 构造函数14 /// </summary>15 /// <param nam... 阅读全文
posted @ 2012-02-22 21:06 lazycoding 阅读(663) 评论(0) 推荐(0) 编辑
摘要:程序功能描述: 把每有个字符看成是二进制位数据,程序提供给这些字符组成的图像加边框操作、横向合并操作、纵向合并操作。 1 #include <iostream> 2 using namespace std; 3 class Picture; 4 ostream& operator<<(ostream&,const Picture&); 5 Picture frame(const Picture&); 6 Picture operator&(const Picture&,const Picture&); 7 Pict 阅读全文
posted @ 2012-02-13 20:08 lazycoding 阅读(700) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 #include <string> 3 #include <stack> 4 5 using namespace std; 6 int main() 7 { 8 string str ="I live in cnblogs.com"; 9 stack<char> cStack ;10 for(int i=0,w=0;i <str.length(); i++) 11 { 12 if (str[i]==' '||i==str.length()-1) 13 { 1 阅读全文
posted @ 2012-02-12 20:46 lazycoding 阅读(569) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示