自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

foliage_的专栏

I hope that one day...

  • 博客(6)
  • 收藏
  • 关注

原创 Lose Yourself --- Eminem

Lose Yourself                      --- Eminem  Look, if you had one shot, one opportunity好,如果你有一次良机,一次机会。To seize everything you ever wanted…One moment去完成你曾经梦想拥有的一切...在这个时刻Would you capture it

2008-09-26 16:25:00 1119

原创 根据先序遍历和中序遍历创建二叉树

#include  #include  using namespace std;class BiTree{private:    struct NODE    {        int data;        NODE* left_child;        NODE* right_child;        NODE(int data

2008-08-05 22:14:00 2949

原创 一个简单的链表类

#include  #include  using namespace std;class Linklist{private:    typedef struct NODE    {        int data;        NODE* next;        NODE(int data, NODE* next)        {  

2008-08-04 21:00:00 332

原创 输出一个有趣的矩阵

 // array_arrange.cpp : 定义控制台应用程序的入口点。//// 输入N(如3)// 输出如下:/* 1 3 6 2 5 8 4 7 9 */#include "stdafx.h"#include #include using namespace std;void funct

2008-07-30 21:52:00 422

原创 一个关于2的n次方的代码(C++)

  /*---------------------------- ×××求2的n次方的程序××× ----------------------------*/#include #include #include using namespace std;void f(int n){ if(n) { const int number =

2008-07-30 21:49:00 4760

原创 关于C/C++的指针

 1. 数组和指针作为函数的参数的注意点:将数组作为参数的时候,会被转化成指针,例子如下: #include using namespace std; char fo[] = "foliage";void my_arr_func(char foliage[10]){     cout }void my_pointer_func(char* foliage){     cou

2008-07-30 21:27:00 253

空空如也

空空如也

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

TA关注的人

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