- 博客(12)
- 收藏
- 关注
原创 由blog想到
我们正逐渐意识到应该充分重视个体的力量,当一项活动有很多人(超过一定数量级)自发参与时,便会产生巨大的影响,比如linux,比如blog。无数因为兴趣,自愿加入的“游击队员”,组织在一起,却往往能攻城拔寨,产生和“正规军”不相上下的“攻击力”,甚至有赶超之势。 无数的个体的自发行为,由于更无拘束,更自由,更具创造力,更具多样性,自然有其独特的优势。肯定还会有类似的东西出现
2004-10-29 01:09:00 737 1
转载 Web links for coding style
coding style: 《 C++ Coding Standard 》 Web Page: http://www.possibility.com/Cpp/CppCodingStandard.html ( also CPP: http://www.possibility.com/Cpp/ ) --------------------------
2004-10-28 01:04:00 633
原创 IntegerSet解答
// File Name: IntegerSet.h// Assignment: IntegerSet// Description: head of IntegerSet Class#ifndef INTEGERSET_H#define INTEGERSET_Hclass IntegerSet{public: IntegerSet(); //default construct
2004-10-27 19:45:00 2382
原创 IntegerSet
Program 4: The Infamous IntegerSetCreate a class called IntegerSet. Each object of the class IntegerSet can hold integers in the range of 0 through 100. A set is represented internally as
2004-10-26 13:19:00 2304
原创 解答C++作业04
//ChkgAcct.h//ChkgAcct classes#ifndef CHKGACCT_H#define CHKGACCT_Hclass ChkgAcct { public: ChkgAcct(); void deposit(double amt); bool checkWithdraw(double amt); bool atmWithdraw(doubl
2004-10-26 12:27:00 906
原创 C++作业04
Banking with Class This assignment is to write a banking program using objects. The ChkgAcct class should provide all the functionality as described below. A suggested definition for ChkgA
2004-10-26 12:20:00 911
原创 解答C++作业03
#include#include#include#include#includeusing namespace std;const int SECRET_SIZE=10; // size of secret number array const int GUESS_SIZE=4; // size of guess number array void initialize_secret( i
2004-10-26 12:10:00 803 1
原创 C++作业03
Programming Assignment #1: Functions and Arrays (Moo!) To get you back into programming, you will use functions and arrays (or vectors) and write a game called Moo; an old unix game. If yo
2004-10-26 12:06:00 1023
原创 解答C++作业02
//harry zou #include#include#include#includeusing namespace std;int i=0;char ch;const int w=8;int count=0;int map[w][w];bool move(int x,int y){ i++; map[x][y]=i; count++; if (i==w*w) return true;//
2004-10-26 10:52:00 753 1
原创 C++作业02
Programming Assignment #2: Function Recursion (Knights Tour) Knights Tour:In the game of Chess (international chess, at least) the knight moves in an unusual pattern of 2 squares horizontally
2004-10-26 10:42:00 2599
原创 解答C++作业01
#include#include#include#include#includeusing namespace std;int find(char ch,int &x,int &y,string openMaze,int& width ){ string str; ifstream fin(openMaze.c_str()); if(!fin) {cout return 0;} whil
2004-10-26 10:40:00 1023 1
原创 C++作业01
Program #2 - Maze TraversalMaze Traversal:You will be given two files that contain ASCII mazes, and your program should first read in the maze into arrays (or vectors) and then recursively fin
2004-10-26 10:32:00 1226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人