- 博客(14)
- 收藏
- 关注
转载 IP地址与二进制
IP地址与二进制 IP简介子网掩码是每个网管必须要掌握的基础知识,只有掌握它,才能够真正理解TCP/IP协议的设置。以下我们就来深入浅出地讲解什么是子网掩码。IP地址的结构要想理解什么是子网掩码,就不能不了解IP地址的构成。互联网是由许多小型网络构成的,每个网络上都有许多主机,这样便构成了一个有层次的结构。IP地址在设计时就考虑到地址分配的层次特点,
2012-01-29 16:34:10
6608
原创 1007. To and Fro
#include #include using namespace std;int main(){ int i, j, k, temp; int numberOfColumn; cin >> numberOfColumn; char useless[1]; cin.getline(useless,1); char message[201];
2012-01-28 14:31:18
567
原创 A simple example of exceptional handing in function
#include/*Understand the use of exceptional handing*/using namespace std;class Zero{public: Zero(){} void WarningInfor(){cout<<"The number devided can't be zero"<<endl;}}; int division(in
2011-12-22 17:03:52
317
原创 1198. Substring
#include #include #include #include using namespace std;bool compare(string s1 , string s2){ return s1 + s2 < s2 + s1;}int ma
2011-09-25 19:37:38
430
原创 1147
#include #include using namespace std;class Student {public: Student(); void readinfor(); bool judge(char ); int getsum(){retur
2011-09-20 09:13:38
386
转载 ※如何复习新托福(最新更新口语和听力部分)
本文纯属个人观点,希望大家多多拍砖先说新托福复习中的几个常见问题吧。一个是大家刚开始学托福经常问的:我要花多少时间去准备这个IBT?这个问题或许只有你自己才能知道答案。首先,准备的时间的长短取决于你的基础,你是在什么基础上准备呢?高中毕业的水平,C
2011-08-29 00:16:11
400
原创 RAR文件破解问题(RP决定命运)
高手请进-RAR文件密码破解浏览次数:11642次悬赏分:15| 解决时间:2007-7-20 15:37 | 提问者:长春96460| 检举高手请进-RAR文件密码破解密码可能是8位的 暴力破解 大概需要多长时间?请帮忙推荐 破
2011-08-19 16:17:17
1214
原创 unknown character 0xa1 错误
PS:问题虽然很小,但是让你在复制网页代码时很不爽~今天调试程序时总是弹出很多unknown character 0xa1 错误检查半天。语法没错。逻辑没错。怎么会总是有这个错误。。。 查阅资料才知道是输入程序的时候键入的是全角符号
2011-08-19 11:54:59
1233
原创 figure 19.8~10 的一些心得记录 类的继承&的库的一些应用
<br />#ifndef CIRCLE_H#define CIRCLE_H#include<iostream>using std::ostream;#include"point.h"class Circle: public Point{ friend ostream &operator<<(ostream &, const Circle &);public: Circle(double r=0.0,int x=0,int y=0); void setRadius(
2011-04-19 22:17:00
147
原创 fig18.4 操作符重载,以一个数组大程序为一个示范性例子
<br />#ifndef ARRAY1_H#define ARRAY1_H#include<iostream>using std::ostream;using std::istream;class Array{ friend ostream &operator<<(ostream &,Array &);//注意这个形式 friend istream &operator>>(istream &,Array &);public://对类的定义进行合理的排布,增加可读性。 A
2011-04-09 16:52:00
142
原创 ASC码的一点感悟
<br />#include <stdio.h> #include <stdlib.h> int main() { int w; char z ; z=getchar(); if (z<123 && z>96) {w=z-7-2*(z-97); putchar(w); printf("/n");} else
2011-03-27 13:59:00
1256
原创 fig17_2.cpp
<br />//fig17_2做一个小的每步增长的程序#include<iostream>using namespace std;//这个namespace是最后写,然后看你到底用到了那些std函数库里德函数,从而提供程序的速度。class Increment{public: Increment(int c=0,int t=1); void addIncrement(){count+=increment;}; void print() const;private:
2011-03-19 17:02:00
171
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅