自定义博客皮肤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的专栏

每天进步一点点

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

原创 正整数转换成字符串

#include using namespace std;class STR{ int num; char s[15];public: STR(int x) { num =x; } void itoa(); void print() { cout<<"n="<<num<<endl; cout<<"string = "<<s<

2009-02-28 21:49:00 995

原创 整数降序排列

#include using namespace std;class Num{ int n; int a[5];public: Num(int x = 0) { for(int i =0;i<5;i++) { a[i]=0; } n = x; } void descrease(); void show() {

2009-02-28 13:42:00 951

原创 二维数组旋转90度输出

#include using namespace std;int main(){ int b[8][8] = {{1,2,3,4},{1,2,3,4},{1,2,3,4},{1,2,3,4}}; int m = 4; for(int i =0;i<m;i++) { for(int j=0;j<m;j++) { cout<<b[i][j]<

2009-02-28 12:46:00 3949 1

原创 二维数组转单向链表

#include using namespace std;class MATRIX{ int m; int sum; int a[40][40];public: MATRIX(int x[][40],int k) { m = k; for(int i = 0;i<m;i++) { for(int j =0;j<m;j++)

2009-02-26 00:02:00 1319

原创 c++ 程序设计实践指导1.2

统计指针数组中每个元素出现的个数 #include using namespace std;class ARP{ int m; int* pa; //array *P int* ps; // sum of same;public: ARP(int x[],int size) { m = size; pa = new int[m];

2009-02-25 21:05:00 619

原创 c++ 程序设计实践指导1.1

 1.1程序改写要求以数组为结构的程序改写为以指针为数据结构 解: //2009 Tonee hannsoft@163.com#include using namespace std;class ARP{ int m; int* p; public: ARP(int x[],int size) { m = size; p =

2009-02-24 22:55:00 788 2

显示进程的路径

显示进程的路径(VC)

2007-10-15

空空如也

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

TA关注的人

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