傳統 c++
#include //設定插入點
#include //字元處理
#include //定義錯誤碼
#include //浮點數處理
#include //檔案輸入/輸出
#include //引數化輸入/輸出
#include //資料流輸入/輸出
#include //定義各種資料型別最值常量#include //定義本地化函式
#include //定義數學函式
#include //定義輸入/輸出函式#include //定義雜項函式及記憶體分配函式#include //字串處理
#include //基於陣列的輸入/輸出#include //定義關於時間的函式#include //寬字元處理及輸入/輸出#include //寬字元分類
標準 c++ (同上的不再注釋)
#include //stl 通用演算法
#include //stl 位集容器
#include
#include
#include
#include
#include //複數類
#include
#include
#include
#include
#include //stl 雙端佇列容器#include //異常處理類
#include
#include //stl 定義運算函式(代替運算子)#include
#include //stl 線性列表容器#include //stl 對映容器
#include
#include //基本輸入/輸出支援#include //輸入/輸出系統使用的前置宣告#include
#include //基本輸入流
#include //基本輸出流
#include //stl 佇列容器
#include //stl 集合容器
#include //基於字串的流
#include //stl 堆疊容器
#include //標準異常類
#include //底層輸入/輸出支援#include //字串類
#include //stl 通用模板類#include //stl 動態陣列容器#include
#include
using namespace std;
c99 增加
#include //複數處理
#include //浮點環境
#include //整數格式轉換
#include //布林環境
#include //整型環境
#include //通用型別數學巨集 _
c語言面試大全
1.求下面函式的返回值 微軟 int func x return countx 假定x 9999。答案 8 思路 將x轉化為2進製,看含有的1的個數。2.什麼是 引用 申明和使用 引用 要注意哪些問題?答 引用就是某個目標變數的 別名 alias 對應用的操作與對變數直接操作效果完全相同。申明乙個引...
C語言例題大全
1 求1 2 3 100。迴圈 答案 include void main 2 求1 2 3 10。迴圈 答案void main printf d j return 0 3 輸入三個數字,輸出他們的最大值。if 答案 include void main int max int x,int y,int ...
C語言函式大全
函式名 abort 功能 異常終止乙個程序 用法 void abort void 函式名 abs 功能 求整數的絕對值 用法 int abs int i 函式名 absread,abswirte 功能 絕對磁碟扇區讀 寫資料 用法 int absread int drive,int nsects,i...