
数据结构
文章平均质量分 73
冬瓜子
未来是最要紧的事不要回头
展开
-
顺序表的基本操作(C++)
// Sequence.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "iostream"using namespace std;//错误1,使用cout要加上此句typedef int type;//忘记知识点:定义type好处就是便于以后总体更改数据类型class SeqList{type data[100];int length;int原创 2013-11-17 10:56:32 · 1165 阅读 · 0 评论 -
判断小数的整数位
// SumInte.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "iostream"#include "string"using namespace std;int main(){ char numStr[60]; cin>>numStr;原创 2013-11-22 21:40:55 · 1313 阅读 · 0 评论 -
反转句子中的单词顺序
// ReveseWord.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #includeusing namespace std;void Reverse(char *pBegin, char *pEnd){ if(pBegin == NUL转载 2013-11-26 20:56:20 · 1164 阅读 · 0 评论