![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
lichenbit
这个作者很懒,什么都没留下…
展开
-
c++下将数字已十进制、八进制、十六进制输出
#include using namespace std; int main(){ //Specifying formats with manipulators cout<<"a number in decimal:"<<dec<<15<<endl; //decimal cout<<"in octal:"<<oct<<15<<endl; //octal cout<<"in原创 2014-09-04 22:33:38 · 497 阅读 · 0 评论 -
二叉树的实现类
文件btree.h #pragma once #ifndef BTREE_H #define BTREE_H #include using namespace std; #define MaxSize 100 //定义结点类型 //template typedef struct node{ char data; //数据元素 struct node *lch原创 2014-09-08 16:08:49 · 425 阅读 · 0 评论