C++
黄金金金
成功之前做该做的事,成功之后做想做的事
展开
-
利用栈实现字符匹配~~
利用栈实现字符匹配~~ #include #include using namespace std; typedef char ElemType; const int MaxSize=100; struct Stack { ElemType stack[MaxSize]; int top; }; void InitStack(Stack& S) { S.原创 2015-09-24 15:47:50 · 484 阅读 · 0 评论 -
队列实现最简单的排队看病系统
#include #include using namespace std; typedef int ElemType; const int MaxSize=1000; struct Queue { ElemType queue[MaxSize]; int front,rear; }; void InitQueue(Queue& Q) { Q.front原创 2015-09-24 15:53:47 · 2931 阅读 · 0 评论 -
C++编译过程中的错误集锦集锦(持续更新)
C++编译错误信息集锦 1、fatal error C1010: unexpected end of file while looking for precompiled header directive。 寻找预编译头文件路径时遇到了不该遇到的文件尾。 就是没有找到预编译指示信息的头文件。(一般是没有#include "stdafx.h") 问题一般发生在:通过添加文件的方式,添加了一原创 2015-09-30 21:14:48 · 637 阅读 · 0 评论