基本功能函式 BaseFun h

2021-03-31 08:56:31 字數 987 閱讀 5079

///

//    //

//  基本功能函式 basefun.h   //

//    //

// void graph();

void list();

void stack();

void queue();

void ***positor();

void bintree();

///

//    //

//   堆疊功能函式   stack.cpp/ /

//    //

// #include"stack.h"

#include"iostream.h"

const int int =13;

const double float= 13.33;

const char char ='a';

template

void stack_push(stack&stackopp)

template

void stack_pop(stack&stackopp)

}while(true);

} void stack() }

///

//    //

//   佇列功能函式 queue.h  //

//    //

// #include"queue.h"

const int int =13;

const double float= 13.33;

const char char ='a';

template

void queue_enter(queue&queueopp)

template

void queue_del(queue&queueopp)

}while(true);

} void queue()  //根據不同的使用者需要選擇資料型別 }

Bash基本功能

history 選項 歷史命令儲存檔案 c 清空歷史命令 w 把快取中的歷史命令寫入命令儲存檔案 歷史命令預設儲存1000條,可以在環境變數配置檔案 etc profile中進行修改 必須重新登陸,歷史命令可以儲存檔案 歷史命令的呼叫 使用上,下箭頭呼叫以前的歷史命令 使用 n 重複執行第n條命令 ...

Nginx基本功能

1 靜態http伺服器 首先,nginx是一個http伺服器,可以將伺服器上的靜態檔案 如html 通過http協議展現給客戶端。配置 plain view plain copy server 2 反向 伺服器 什麼是反向 客戶端本來可以直接通過http協議訪問某 應用伺服器,管理員可以在中間加上一...

shell 基本功能

chmod 755 test.sh 設定可執行許可權 cat a test.sh 包含隱藏檔案 別名 alias 別名 原命令 alias rm rm i alias cp cp i alias mv mv i 永久生效,設定在 root bashrc 檔案種 unalias 別名 刪除別名 ctr...

Linux Shell Bash基本功能

history 選項 歷史命令儲存檔案 選項 c 清空歷史命令 w 把快取中的歷史命令寫入歷史命令儲存檔案 bash history 歷史命令預設儲存1000條,可以在環境變數配置檔案 etc profile中進行修改 的值 重新登入後生效 在輸入時可以使用tab鍵就會自動補全 不論是輸入命令還是一...

WordCount基本功能

psp2.1 psp階段 預估耗時 分鐘 實際耗時 分鐘 planning 計劃 estimate 估計這個任務需要多少時間 development 開發 analysis 需求分析 包括學習新技術 design spec 生成設計文件 design review 設計複審 和同事稽核設計文件 co...