自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

TONY的专栏

每天进步一点点

  • 博客(16)
  • 资源 (1)
  • 收藏
  • 关注

原创 VC.net 字符串转换成UTF-8形式

using namespace System;using namespace System::Text;void PrintCountsAndBytes( array^chars, Encoding^ enc );void PrintHexBytes( array^bytes );int main(){ // The characters to encode:

2009-03-24 00:55:00 1369

原创 求指定范围内的所有素数

/* Name: 求指定范围内的所有素数 Copyright: tonyee Author: tonyee Date: 20-03-09 18:50 Description: C++ 练习题 */#include using namespace std;class PRIMENUM { int data[25]; int

2009-03-20 20:28:00 1609

原创 超长数列中n个整数排序

 /* Name: 超长数列中n个整数排序 Copyright: tonyee Author: tonyee Date: 20-03-09 18:50 Description: C++ 练习题 */#include using namespace std;class LIST{ int size; int *arr;

2009-03-20 19:55:00 575

原创 分数相加-

/* Name: 分数运算 Copyright: tonyee Author: tonyee Date: 19-03-09 22:23 Description: C++ 练习题 */#include #include using namespace std;// 分数相加类 class Fract{ int num;

2009-03-19 23:07:00 1599

原创 Game Lobby!

/*Name: Game LobbyCopyright: tonyeeAuthor: tonyeeDate: 15-03-09 20:44Description: code for study*/#include #include using namespace std;class Player{public: Player(con

2009-03-15 22:54:00 701

原创 电子宠物!(简单)

// critter caretaker#include using namespace std;class Critter{public: Critter(int hunger = 0, int boredom = 0); void Talk(); void Eat(int food = 4); void Play(int fun = 4);

2009-03-14 00:31:00 1411

原创 井字游戏 指针版

// 指针版// Tic-Tac-Toe 2.0// Plays the game of tic-tac-toe against a human opponent// Uses pointers instead of refernces for function parameters#include #include #include #include us

2009-03-12 23:59:00 436

原创 井字游戏!

// Tic-Tac-Toe// Plays the game of tic-tac-toe against a human opponent#include #include #include #include using namespace std;// global constantsconst char X = X;const char

2009-03-12 23:11:00 553

原创 Hangman!!!

// Hangman#include #include #include #include #include #include #include using namespace std;int main (){ // setup const int MAX_WRONG = 8; vector words; words.pus

2009-03-10 21:52:00 575

原创 Guess My Word

// Guess My Word#include #include #include #include using namespace std;int main (){ enum fields {WORD,HINT,NUM_FIELDS}; const int NUM_WORDS = 5; const string WORDS[NUM_WORDS

2009-03-09 23:11:00 607

原创 Guess My Number!!!

// Guess My Number#include #include #include using namespace std;int main (){ //int t = time(0); srand(time(0)); int theNumber = rand() % 100 + 1; int tries = 0,guess; /

2009-03-09 21:55:00 402

原创 单链表赋值,定位,添加,(C++ ) 简单实现 未整理

#include using namespace std;struct t_node{ int data; t_node *next;};class LINKNODE{ int n;// loop times t_node * nodea ;public: LINKNODE(int i) { n = i; }

2009-03-03 22:19:00 698

转载 C++ 一段代码仅供参考

#include #include #include #include using namespace std;int main(){ char isenter; int num = 0; int max = 0; cout << endl << "Enter the number of students: " ;

2009-03-01 22:30:00 516

转载 单向链表的插入、查找和遍历方法 (c)

单向链表的插入、查找和遍历方法  #include#include#define N 3int Link_Length = N; //记录链表的长度//定义结构体struct t_node{ int data; struct t_node *next;};定义别名typedef struct t_node Node;//定义链表变量

2009-03-01 22:25:00 2556

原创 单链表 赋值与显示 (类)

#include #include using namespace std;struct sLinkNode{ char data; sLinkNode* next;};class CLinkNode{ string str; sLinkNode *sln;public: CLinkNode(string s) { str

2009-03-01 19:20:00 2622

原创 C++ 单链表赋值与显示(过程式)

#include #include using namespace std;struct iLinkNode{ short int data; iLinkNode *next;};struct sLinkNode{ char data; sLinkNode* next;};int main(){ string s; //cin

2009-03-01 17:38:00 3473

显示进程的路径

显示进程的路径(VC)

2007-10-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除