软件
一尾鱼肉
这个作者很懒,什么都没留下…
展开
-
数据结构--栈
/* 栈是允许在同一端进行插入和删除操作的特殊线性表。"先进后出" 像往箱子里装东西 允许进行插入和删除操作的一端称为栈顶(top),另一端为栈底(bottom); 栈底固定,而栈顶浮动; 栈中元素个数为零时称为空栈。 插入一般称为进栈(PUSH),删除则称为退栈(POP)。栈也称为后进先出表。*/int main(){ MyStack stack1; ...原创 2018-07-15 13:19:39 · 216 阅读 · 0 评论 -
数据结构--链表(C语言版)
/* 数据结构链表的生成,main函数部分*/#include <stdio.h> #include <stdlib.h> #include "Link_List.h" /* 数据的存储方式: 非线性--链表 */ int main() { int Length = 0; int TempValue = 0; in...原创 2018-07-15 14:21:37 · 315 阅读 · 0 评论 -
数据结构--队列(C语言版)
/* main 函数部分*/#include <stdio.h> #include <stdlib.h> #include "MQueue.h" /* 队列:和时间因素有关的方面都需要队列 */ int main() { int del; pMQueue pQueue; Init(pQueue); EnQueue(pQ...原创 2018-07-15 16:17:40 · 295 阅读 · 0 评论 -
对象数组(C++)
#include <iostream> using namespace std; class Coordinate { public: Coordinate(){}; ~Coordinate(){}; int x; int y; }; int main() { Coordinate *const coor = new Coordinat...原创 2018-07-22 12:10:08 · 278 阅读 · 0 评论 -
cin.ignore();的使用
#include <iostream> using namespace std; int main() { int a, b, c; cout << "Please input a: "; cin >> a; cin.ignore(100, '\n'); cout << "Please input b:";...原创 2018-07-22 17:08:27 · 422 阅读 · 0 评论 -
Oracle的学习(一)基础知识
1.查询emp表的所有内容: SELECT * FROM emp; 2.设置每行显示的数据长度: SET LINESIZE 300; 3.设置每页显示的数据条数: SET PAGESIZE 30; 4.(ed + 文件名 ) 打开记事本程序, 使用(@+文件名)的形式执行记事本中的语言 5.CONN ststem/manager 切换到system登录 6.切换到sy...原创 2018-08-17 10:36:56 · 212 阅读 · 0 评论