- 博客(3)
- 收藏
- 关注
原创 字符串填充,用三个字符将空格代替,空格后边字母后移,不覆盖原来字母
#include<iostream> #include<string> using namespace std; class stu{ public: void replaceSpace(char **str1,int *length) { char *ch=new char[100]; ...
2019-05-11 09:50:22 352
原创 二叉树打印
#include<stdio.h> #include<malloc.h> typedef struct Node { char data; struct Node *Lchild; struct Node *Rchild; }BiTNode,*BiTree; typedef struct Node1{ ...
2019-05-11 09:44:15 105
转载 银行计算法
#include<stdio.h> #include<stdlib.h> #define true 1 #define false 0 int Available[10]; int Claim[10][10]; int Allocation[10][10]; int Need[10][10]; int Request[10][10]; char...
2019-05-11 09:30:37 287
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人