Scott Effective C++ C++ C++ Roger Orr OR/2 ISO C++ Effective Modern C++ C++ C++ Scoot 42 Bart Vandewoestyne C++ C++ Scott Effective Modern C++ Damien

Size: px
Start display at page:

Download "Scott Effective C++ C++ C++ Roger Orr OR/2 ISO C++ Effective Modern C++ C++ C++ Scoot 42 Bart Vandewoestyne C++ C++ Scott Effective Modern C++ Damien"

Transcription

1 Effective Modern C++ C++ C++ C++11/C++14 C++ Scott Meyers Gerhard Kreuzer Siemens AG Effective Modern C++ Effective Modern C++ Andrei Alexandrescu Facebook Modern C++ Design C++ C++ Nevin Liber DRW Trading Group C++ Bjarne Stroustrup C++11 Effective Modern C++ C++11 C++14 Scott Meyers Cassio Neri FX

2 Scott Effective C++ C++ C++ Roger Orr OR/2 ISO C++ Effective Modern C++ C++ C++ Scoot 42 Bart Vandewoestyne C++ C++ Scott Effective Modern C++ Damien Watkins CSIRO C++ C++11/14 C++98 C++ Rachel Cheng F5 Networks C++98/03 C++11/14 Scott Effective Modern C++ C++11 Scott Rob Stewart Boost Steering boost.org

3 C++ C++11 C++ auto for lambda rvalue C++ 0 typedef nullptr alias declaration C++11 C++14 有效率 C++ C++11 C++14 條款 auto const std::unique_ptr Pimpl Idiom lambda std::atomic volatile C++ C++11 C++14

4 2 C++ C++ ISO C++98 C++03 C++11 C++14 C++98 C++03 C++98 C++11 C++11 C++14 C++14 C++11 superset C++14 C++14 C++ 使用的詞彙 C++ C++98 C++11 C++14 代表的語言版本 C++98 C++03 C++11 C++14 C++14 C++ C++98 C++98 C++03 C++11 lambda C++11 C++14 C++14 C++14 C++11 move semantic rvalue lvalue rvalue move operation lvalue rvalue lvalue rvalue rvalue reference lvalue lvalue rvalue lvalue rvalue T T lvalue T rvalue rvalue lvalue class Widget { public: Widget(Widget&& rhs); // rhs lvalue rvalue }; Widget move constructor rhs rhs lvalue rvalue lvalue

5 3 Widget Widget rhs right-hand side 搬移操作 move operation 複製操作 copy operation rhs Matrix operator+(const Matrix& lhs, const Matrix& rhs); lhs left-hand side Widget rhs rhs lvalue C++11 variadic... template<typename... Ts> void processvals(const Ts&... params) { } // C++ processvals typename class C++ class 複 copy C++ void somefunc(widget w); // somefunc w // Widget wid; somefunc(wid); // wid Widget // somefunc // w // wid

6 4 somefunc(std::move(wid)); somefunc // w // wid rvalue lvalue somefunc rvalue lvlaue w Widget 引數 argument 參數 parameter somefunc wid std::move(wid) w lvalue rvalue lvalue 完美轉發 perfect forwarding rvalue lvalue 30 例外安全 基本保證 basic guarantee 強保證 strong guarantee 函式物件 function object operator() functionname(arguments) operator() C C++98 C++11 可呼叫物件 callable object C++ lambda closure lambda closure lambda 函式樣板 function template 樣板函式 template function 樣板類別 類別樣板 C++ 宣告

7 5 extern int x; class Widget; bool func(const Widget& w); enum class Color; // // // enum 10 int x; class Widget { }; // // bool func(const Widget& w) { return w.size() < 10; } // enum class Color { Yellow, Red, Blue }; enum 章 signature func bool(const Widget&) noexcept constexpr noexcept constexpr C++ 停用 deprecate C++11 std::unique_ptr std::auto_ptr C++11 std::auto_ptr 未定義行為 undefined behavior std::vector []

8 6 iterator data race new 原始指標 raw pointer 智慧型指標 smart pointer operator-> operator* 20 std::weak_ptr ctor dtor ISBN Effective Modern C++ by Scott Meyers (O Reilly). Copyright 2015 Scott Meyers, emc++-errata.html

9 第一章 C++98 C++11 auto decltype C++14 auto decltype C++ auto decltype C++14 decltype(auto) C++ auto decltype 1 C++ auto C++ C++98 C++11 auto auto

10 8 auto void f(paramtype param); f(expr); f expr T ParamType ParamType const reference qualifier void f(const T& param); // ParamType const T& int x = 0; f(x); // int f T int ParamType const int& T T expr x int T int T expr ParamType ParamType reference type universal reference 24 universal reference lvalue rvalue ParamType universal reference ParamType void f(paramtype param); f(expr); // expr T ParamType

11 9 ParamType universal reference ParamType universal reference 1. expr 2. expr ParamType pattern-match T void f(t& param); // param int x = 27; const int cx = x; const int& rx = x; // x int // cx const int // rx x const int param T f(x); f(cx); f(rx); // T int param int& // T const int // param const int& // T const int // param const int& cx rx const T const int const int& const reference parameter const reference-to-const const T& constness T rx T rx lvalue rvalue rvalue rvalue

12 10 f T& const T& cx rx const param const T const template<type T> void f(const T& param); // param int x = 27; const int cx = x; const int& rx = x; f(x); f(cx); f(rx); // T int param const int& // T int param const int& // T int param const int& rx reference-ness param const void f(t* param); int x = 27; const int *px = &x; f(&x); f(px); // param // px x x const int // T int param int* // T const int // param const int* C++ ParamType Universal Reference universal reference rvalue T universal reference T&& lvalue 24

13 11 expr lvalue T ParamType lvalue T ParamType rvalue lvalue expr rvalue void f(t&& param); int x = 27; const int cx = x; const int& rx = x; f(x); f(cx); f(rx); f(27); // param universal reference // x lvalue T int& // param int& // cx lvalue T const int& // param const int& // rx lvalue T const int& // param const int& // 27 rvalue T int // param int&& 24 universal reference lvalue rvalue universal reference lvalue rvalue universal reference ParamType ParamType pass-by-value void f(t param); // param param expr T

14 12 1. expr 2. expr expr const volatile volatile 40 int x = 27; const int cx = x; const int& rx = x; f(x); f(cx); f(rx); // T param int // T param int // T param int cx rx const param const param cx rx cx rx 複本 cx rx param param const volatile expr const volatile const const expr const expr const const expr param void f(t param); // param const char* const ptr = "Fun with pointers"; f(ptr); // ptr const const // const char * const ptr const ptr const ptr null const ptr const ptr f param 指標本身 ptr 會以傳值的方式傳入 ptr const param const char* const ptr const ptr param ptr const

15 13 衰退 const char name[] = "J. P. Briggs"; // name // const char[13] const char * ptrtoname = name; // array name const char* ptrtoname name const char[13] const char* const char[13] array-to-pointer void f(t param); f(name); // T param function parameter void myfunc(int param[]); myfunc void myfunc(int* param); C++ C f T const char* f(name); // name T const char*

16 14 能夠 參考 f void f(t& param); f(name); f T T const char[13] f const char (&)[13] template<typename T, std::size_t N> // constexpr std::size_t arraysize(t (&)[N]) noexcept // constexpr { // noexcept return N; } 15 constexpr int keyvals[] = { 1, 3, 7, 9, 11, 22, 35 }; // keyvals 7 int mappedvals[arraysize(keyvals)]; // mappedvals 7 C++ std::array std::array<int, arraysize(keyvals)> mappedvals; //mappedvals // size 7 arraysize noexcept 14

17 15 C++ void somefunc(int, double); // somefunc // void(int, double) void f1(t param); void f2(t& param); f1(somefunc); f2(somefunc); // f1 param // f2 param // param // void (*)(int, double) // param // void (&)(int, double) array-to-pointer function-to-pointer auto universal reference lvalue 4 reference-ness universal reference lvalue by-value const volatile const volatile

CC213

CC213 : (Ken-Yi Lee), E-mail: [email protected] 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

1 C++ 2 Bjarne Stroustrup C++ (system programming) 6 (infrastructure) C++ 7 Herb Sutter 8 C++ (efficiency) (flexibility) 9 (abstraction) (productivity

1 C++ 2 Bjarne Stroustrup C++ (system programming) 6 (infrastructure) C++ 7 Herb Sutter 8 C++ (efficiency) (flexibility) 9 (abstraction) (productivity 1 C++ 1 C++ Primer C++ ([email protected]) 2012-7-11 Creative Commons - - 3.0 Unported (cc by-nc-nd) http://creativecommons.org/licenses/by-nc-nd/3.0/ 1 C++ 2009 Stanley Lippman C++ C++ Java/C#/Python

More information

Microsoft Word - 物件導向編程精要.doc

Microsoft Word - 物件導向編程精要.doc Essential Object-Oriented Programming Josh Ko 2007.03.11 object-oriented programming C++ Java OO class object OOP Ruby duck typing complexity abstraction paradigm objects objects model object-oriented

More information

untitled

untitled 1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override

More information

新版 明解C++入門編

新版 明解C++入門編 511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,

More information

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 C C [email protected] C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

C++11概要 ライブラリ編

C++11概要 ライブラリ編 C++11 Egtra 2012 6 23 1 Boost. #9 1.1 C++11 1.2 http://creativecommons.org/licenses/by-sa/2.1/jp/ - 2.1 2 Misc 2.1 C++11 unique_ptr shared_ptr // #include std::unique_ptr up(new int(1));

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

Strings

Strings Inheritance Cheng-Chin Chiang Relationships among Classes A 類 別 使 用 B 類 別 學 生 使 用 手 機 傳 遞 訊 息 公 司 使 用 金 庫 儲 存 重 要 文 件 人 類 使 用 交 通 工 具 旅 行 A 類 別 中 有 B 類 別 汽 車 有 輪 子 三 角 形 有 三 個 頂 點 電 腦 內 有 中 央 處 理 單 元 A

More information

Microsoft Word - ch04三校.doc

Microsoft Word - ch04三校.doc 4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear

More information

c_cpp

c_cpp C C++ C C++ C++ (object oriented) C C++.cpp C C++ C C++ : for (int i=0;i

More information

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F 1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o

More information

Microsoft PowerPoint - plan08.ppt

Microsoft PowerPoint - plan08.ppt 程 序 设 计 语 言 原 理 Principle of Programming Languages 裘 宗 燕 北 京 大 学 数 学 学 院 2012.2~2012.6 8. 面 向 对 象 为 什 么 需 要 面 向 对 象? OO 语 言 的 发 展 面 向 对 象 的 基 本 概 念 封 装 和 继 承 初 始 化 和 终 结 处 理 动 态 方 法 约 束 多 重 继 承 总 结 2012

More information

C 1

C 1 C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=

More information

第 三 条 基 金 管 理 人 基 金 托 管 人 和 基 金 份 额 持 有 人 的 权 利 义 务, 依 照 本 法 在 基 金 合 同 中 约 定 基 金 管 理 人 基 金 托 管 人 依 照 本 法 和 基 金 合 同 的 约 定, 履 行 受 托 职 责 通 过 公 开 募 集 方 式

第 三 条 基 金 管 理 人 基 金 托 管 人 和 基 金 份 额 持 有 人 的 权 利 义 务, 依 照 本 法 在 基 金 合 同 中 约 定 基 金 管 理 人 基 金 托 管 人 依 照 本 法 和 基 金 合 同 的 约 定, 履 行 受 托 职 责 通 过 公 开 募 集 方 式 中 华 人 民 共 和 国 证 券 投 资 基 金 法 (2003 年 10 月 28 日 第 十 届 全 国 人 民 代 表 大 会 常 务 委 员 会 第 五 次 会 议 通 过 2012 年 12 月 28 日 第 十 一 届 全 国 人 民 代 表 大 会 常 务 委 员 会 第 三 十 次 会 议 修 订 ) 目 录 第 一 章 总 则 第 二 章 基 金 管 理 人 第 三 章 基 金

More information

(CIP) /. :, 2004.1 ISBN7-81060 - 342-6......... - -.TS971-49 CIP (2003) 085575 818 : 200433 / : 021-65493093 : 850 1168 1/ 32 : 9.625 : 255 2004 1 1 2

(CIP) /. :, 2004.1 ISBN7-81060 - 342-6......... - -.TS971-49 CIP (2003) 085575 818 : 200433 / : 021-65493093 : 850 1168 1/ 32 : 9.625 : 255 2004 1 1 2 (CIP) /. :, 2004.1 ISBN7-81060 - 342-6......... - -.TS971-49 CIP (2003) 085575 818 : 200433 / : 021-65493093 : 850 1168 1/ 32 : 9.625 : 255 2004 1 1 2004 1 1 : 13 000 ISBN 7-81060 - 342-6/ T012 : 19.70

More information

untitled

untitled A, 3+A printf( ABCDEF ) 3+ printf( ABCDEF ) 2.1 C++ main main main) * ( ) ( ) [ ].* ->* ()[] [][] ** *& char (f)(int); ( ) (f) (f) f (int) f int char f char f(int) (f) char (*f)(int); (*f) (int) (

More information

Microsoft Word - chap10.doc

Microsoft Word - chap10.doc 78 10. Inheritance in C++ 我 們 已 介 紹 了 物 件 導 向 程 式 的 第 一 個 主 要 特 性, 即 程 式 可 模 組 化 成 為 類 別 ( 物 件 ), 類 別 具 有 資 料 封 裝 的 特 性 接 下 來 我 們 要 介 紹 物 件 導 向 程 式 的 另 一 個 主 要 特 性, 那 就 是 類 別 具 有 繼 承 的 功 能 繼 承 就 是 重 複

More information

csg(1_29)cs.p65

csg(1_29)cs.p65 DP-80F 2 2 3 4 5 4 5 2 3 4 5 3 ENERGY STAR ENERGY STAR ENERGY STAR 4 3 3 4 7 7 8 8 8 9 0 2 2 3 4 6 7 8 8 9 20 2 22 23 23 24 26 27 27 28 29 30 3 32 33 5 37 37 38 38 39 4 46 46 48 49 50 52 6 7 8 9 q w e

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; Memory & Pointer [email protected] 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,

More information

Microsoft Word - 01.DOC

Microsoft Word - 01.DOC 第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc 2 5 8 11 0 1. 13 2. 15 3. 18 1 1. 22 2. 25 3. 27 2 1. 35 2. 38 3. 41 4. 43 5. 48 6. 50 3 1. 56 2. 59 3. 63 4. 65 5. 69 13 22 35 56 6. 74 7. 82 8. 84 9. 87 10. 97 11. 102 12. 107 13. 111 4 114 1. 114 2.

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

untitled

untitled 1 7 7.1 7.2 7.3 7.4 7.5 2 7.1 VFT virtual 7.1 3 1 1. 2. public protected public 3. VFT 4. this const volatile 4 2 5. ( ) ( ) 7.1 6. no-static virtual 7.2 7. inline 7.3 5 3 8. this this 9. ( ) ( ) delete

More information

Microsoft Word - 日治時代臺灣女性的故事(簡報文字檔).doc

Microsoft Word - 日治時代臺灣女性的故事(簡報文字檔).doc 日 治 時 代 臺 灣 女 性 的 故 事 真 實 與 虛 構 的 交 錯 臺 灣 大 學 臺 灣 文 學 研 究 所 黃 美 娥 2009.6.30 14:30-15:45 講 者 簡 介 黃 美 娥, 現 任 臺 灣 大 學 臺 灣 文 學 研 究 所 教 授, 多 年 來 從 事 臺 灣 文 學 研 究 與 教 學, 著 有 重 層 現 代 性 鏡 像 : 日 治 時 代 臺 灣 傳 統 文

More information

ebook8-30

ebook8-30 3 0 C C C C C C++ C + + C++ GNU C/C++ GNU egcs UNIX shell s h e l l g a w k P e r l U N I X I / O UNIX shell awk P e r l U N I X C C C C C C U N I X 30.1 C C U N I X 70 C C U N I X U N I X U N I X C Dennis

More information

Microsoft PowerPoint - string_kruse [兼容模式]

Microsoft PowerPoint - string_kruse [兼容模式] Strings Strings in C not encapsulated Every C-string has type char *. Hence, a C-string references an address in memory, the first of a contiguous set of bytes that store the characters making up the string.

More information

(procedure-oriented)?? 2

(procedure-oriented)?? 2 1 (procedure-oriented)?? 2 (Objected-Oriented) (class)? (method)? 3 : ( 4 ???? 5 OO 1966 Kisten Nygaard Ole-Johan Dahl Simula Simula 爲 6 Smalltalk Alan Kay 1972 PARC Smalltalk Smalltalk 爲 Smalltalk 爲 Smalltalk

More information

38 47995529 威 福 髮 藝 店 桃 園 市 蘆 竹 區 中 山 里 福 祿 一 街 48 號 地 下 一 樓 50,000 獨 資 李 依 純 105/04/06 府 經 登 字 第 1059003070 號 39 47995534 宏 品 餐 飲 桃 園 市 桃 園 區 信 光 里 民

38 47995529 威 福 髮 藝 店 桃 園 市 蘆 竹 區 中 山 里 福 祿 一 街 48 號 地 下 一 樓 50,000 獨 資 李 依 純 105/04/06 府 經 登 字 第 1059003070 號 39 47995534 宏 品 餐 飲 桃 園 市 桃 園 區 信 光 里 民 1 08414159 惠 鴻 眼 鏡 行 桃 園 市 中 壢 區 福 德 里 中 華 路 一 段 186 號 1 樓 30,000 獨 資 宋 耀 鴻 105/04/27 府 經 登 字 第 1059003866 號 2 17891110 承 元 冷 氣 空 調 工 程 行 桃 園 市 桃 園 區 中 德 里 國 際 路 1 段 98 巷 50 號 2 樓 之 4 200,000 獨 資 詹 安 平

More information

ebook39-5

ebook39-5 5 3 last-in-first-out, LIFO 3-1 L i n e a r L i s t 3-8 C h a i n 3 3. 8. 3 C + + 5.1 [ ] s t a c k t o p b o t t o m 5-1a 5-1a E D 5-1b 5-1b E E 5-1a 5-1b 5-1c E t o p D t o p D C C B B B t o p A b o

More information

Microsoft PowerPoint - 8. 运算符重载 Operator Overloading.pptx

Microsoft PowerPoint - 8. 运算符重载 Operator Overloading.pptx 运算符重载 Operator Overloading class Point { public: ; double x_, y_; Why Operator Overloading? Point (double x =0, double y = 0):x_(x),y_(y) { int main(){ Point a(1., 2), b(3,4); Point c = a + b; return 0;

More information

全国计算机技术与软件专业技术资格(水平)考试

全国计算机技术与软件专业技术资格(水平)考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明

More information

Ps22Pdf

Ps22Pdf (CIP) /. :, 2005 ISBN 7-5375 - 3325-3.... R247.1 TS972.161 CIP (2005) 152967 / / 330 / 050061 / / / / / 880 1230 1/ 32 / 15 / 370 / 2006 1 1 / 2006 1 1 / 24.80 ,,,,,,,,,,,,,,,, ;,,,,, 2006 1 ( ) ( ) (

More information

EJB-Programming-4-cn.doc

EJB-Programming-4-cn.doc EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session

More information

ebook55-13

ebook55-13 1 3 C + + C C + + 13.1 X 256 C + + p r i v a t e p u b l i c p e r m u t e () X X Y 13.2 Y Y X 13 257 Y X Y X X m a i n () s i z e o f ( Y s i z e o f ( X ) p u b l i c p r i v a t e p u b l i c p r i

More information

untitled

untitled 不 料 料 例 : ( 料 ) 串 度 8 年 數 串 度 4 串 度 數 數 9- ( ) 利 數 struct { ; ; 數 struct 數 ; 9-2 數 利 數 C struct 數 ; C++ 數 ; struct 省略 9-3 例 ( 料 例 ) struct people{ char name[]; int age; char address[4]; char phone[]; int

More information

Microsoft Word - 8-柯香君-原稿初修-0516.doc

Microsoft Word - 8-柯香君-原稿初修-0516.doc 逢 甲 人 文 社 會 學 報 第 14 期 第 99-129 頁 2007 年 6 月 逢 甲 大 學 人 文 社 會 學 院 明 代 徽 商 與 戲 曲 關 係 之 研 究 柯 香 君 摘 要 明 代 中 葉, 商 業 經 濟 繁 盛, 新 興 商 幫 勢 力, 成 為 主 導 明 代 戲 曲 走 向 之 重 要 群 體 組 織 以 鹽 致 富 之 徽 商, 在 快 速 累 積 財 富 後, 並

More information

建筑学院建筑学本科专业建设发展规划.doc

建筑学院建筑学本科专业建设发展规划.doc 郑 州 大 学 建 筑 学 院 建 筑 学 本 科 专 业 建 设 发 展 规 划 (2015-2018) 编 制 人 : 郑 东 军 联 系 电 话 :13903719743 1. 专 业 定 位 及 人 才 培 养 目 标 1.1 专 业 定 位 坚 持 求 实 创 新 的 办 学 思 想 以 国 家 和 行 业 发 展 需 求 为 导 向, 围 绕 中 原 城 乡 建 设 的 需 求, 追 踪

More information

Microsoft Word - 黃玉緞 _民間文學教案設計_民歌擬作舉隅

Microsoft Word - 黃玉緞 _民間文學教案設計_民歌擬作舉隅 2016 海 峽 兩 岸 民 間 文 學 學 術 研 討 會 地 點 : 中 國 文 化 大 學 曉 峰 紀 念 館 時 間 :2016 年 5 月 13 日 民 間 文 學 教 案 設 計 : 民 歌 擬 作 舉 隅 黃 玉 緞 一 前 言 筆 者 於 上 個 學 年 起 開 始 任 教 本 校 中 文 系 文 藝 組 民 間 文 學 課, 依 循 文 化 大 學 大 學 部 民 間 文 學 課

More information

untitled

untitled ISBN 753387669C 5.00 2005 6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

More information

untitled

untitled 太平广记 五 宋 李昉 等著 1 出版社 中国计量出版社 书号 ISBN 7-5026-2028-5 版权所有 北京烨子工作室 类别 历史文学名著 出版时间 2005-1-1 字数 29万 内容提要 臣昉等言 臣先奉敕撰集太平广记五百卷者 伏以六籍既 分 九流并起 皆得圣人之道 以尽万物之情 足以启迪聪明 鉴照今古 伏惟皇帝陛下 体周圣启 德迈文思 博综群言 不遗众善 以为编秩既广 观览难周 故使采拮菁英

More information

BQY.PS2

BQY.PS2 中 华 藏 典 之 : 人 生 百 科 全 书 第 四 卷 主 编 齐 豫 生 夏 于 全 吉 林 摄 影 出 版 社 责 任 编 辑 : 程 琳 封 面 设 计 : 胡 凯 中 华 藏 典 人 生 百 科 全 书 齐 豫 生 夏 于 全 主 编 吉 林 摄 影 出 版 社 ( 长 春 市 人 民 大 街 124 号 ) 787 1092 毫 米 16 开 字 数 :3900 千 字 2002 年

More information

书 名 : 额 尔 古 纳 河 右 岸 作 者 : 迟 子 建 出 版 社 : 北 京 十 月 文 艺 出 版 社 出 版 日 期 :2005-12-1 开 本 : 正 16 开 页 数 :262 ISBN:7530208365 1

书 名 : 额 尔 古 纳 河 右 岸 作 者 : 迟 子 建 出 版 社 : 北 京 十 月 文 艺 出 版 社 出 版 日 期 :2005-12-1 开 本 : 正 16 开 页 数 :262 ISBN:7530208365 1 书 名 : 额 尔 古 纳 河 右 岸 作 者 : 迟 子 建 出 版 社 : 北 京 十 月 文 艺 出 版 社 出 版 日 期 :2005-12-1 开 本 : 正 16 开 页 数 :262 ISBN:7530208365 1 国 作 协 会 员, 黑 龙 江 省 作 家 协 会 副 主 席 迟 子 建, 女,1964 出 生, 汉 族, 著 名 作 家 中 迟 子 建 是 当 代 中 国 具

More information

Ps22Pdf

Ps22Pdf : : : ( 124 ) 7871092 16 95 1500 2002 7 1 2002 7 1 : 3000 ISBN7538505644/ I403 : 128000 : : : : : : ,,,,,,,,,,,!,,,,, :,,,, ;,;,, ;,?,,, :,,,,,, :,,,,,,,,,,,, :,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,, :,,,

More information

)001 (131 ) 8501168 32 380 1998 9 1 1998 9 1 : 1-1000 ISBN 7-224 - - / : 28. 50

)001 (131 ) 8501168 32 380 1998 9 1 1998 9 1 : 1-1000 ISBN 7-224 - - / : 28. 50 )001 (131 ) 8501168 32 380 1998 9 1 1998 9 1 : 1-1000 ISBN 7-224 - - / : 28. 50 1,,,,,,,,,,,,,,, :,,,,,,,,,, :,, 2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 3,, :,,,,,,,,, 1997 3 26 1,,,,,,,,,? 1.,,,,,,,,, ;,,,,,

More information

...T.U.p65

...T.U.p65 3 1 2 3 4 5 10 12 14 16 18 22 24 26 28 30 6 36 38 40 42 44 48 50 52 54 56 7 58 60 62 64 66 70 72 74 76 78 81 8 10 11 12 有電子字典 會使 用字典 讀書認字 更容易 教學說明 1 指導查字典的方法 2 舉例說明如何找出部首 13 14 教學說明 1 介紹收看新聞的各種方法 2 介紹一般報紙登載的內容

More information

Ps22Pdf

Ps22Pdf ( 4 ) : : : : : 25 : 010 61265727 : 102600 : : 400 : 787 1092 : 5000 : 2007 11 1 ISBN 978-7 - 900722-98 - 0 : 20, 100, 1800. 00 ( ) ( 1 ) ( 4 ) ( 7 ) ( 10 ) ( 13 ) ( 14 ) ( 16 ) ( 18 ) ( 20 ) ( 22 ) (

More information

untitled

untitled ISBN L-0000-00753/ I222 : 15 00 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

More information

()001 ( 131 ) : ISBN / I1021 :7.50

()001 ( 131 ) : ISBN / I1021 :7.50 ()001 ( 131 ) 787 1092 32 7 118 1998 9 1 1998 9 1 : 110000 ISBN 7-224 - 04867-4/ I1021 :7.50 ,,,,,,,,,,,?,,,, 1 ,,,,,, :, ;,,,,,,,, 1998.7. 2 ,,,,,,,!,,,?,, :!, ( :, 1 ),,??,?,,,,,,,,,, :,?, :,,,,,,,!,

More information

Ps22Pdf

Ps22Pdf ( 4 ) : : : : : 25 : 010 61265727 : 102600 : : 400 : 787 1092 : 5000 : 2007 11 1 ISBN 978-7 - 900722-98 - 0 : 20, 100, 1800. 00 ( ) ( 1 ) ( 2 ) ( 3 ) ( 4 ) ( 5 ) ( 8 ) ( 10 ) ( 10 ) ( 12 ) ( 12 ) ( 13

More information

untitled

untitled ISBN L-0000-00774/ I246.4 : 15 00 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59

More information

()001 ( 131 ) : ISBN / I1020 :6.50

()001 ( 131 ) : ISBN / I1020 :6.50 ()001 ( 131 ) 7871092 32 6.25 106 1998 9 1 1998 9 1 : 110000 ISBN 7-224 - 04866-6/ I1020 :6.50 ,,,,,,,,,,,?,,,, 1 ,,,,,, :, ;,,,,,,,, 1998.7. 2 ,,,,,,,!,,,?,, :!, ( :, 1 ),,??,?,,,,,,,,,, :,?, :,,,,,,,!,

More information

綜合社會保障援助指引

綜合社會保障援助指引 綜 合 社 會 保 障 援 助 指 引 ( 網 上 版 ) 社 會 福 利 署 ( 2016 年 2 月 ) 綜 合 社 會 保 障 援 助 指 引 目 錄 章 節 頁 碼 1. 前 言 1 2. 綜 合 社 會 保 障 援 助 計 劃 的 目 的 2 3. 申 請 資 格 3-6 4. 自 力 更 生 支 援 計 劃 7-8 5. 申 請 程 序 9-10 6. 通 知 申 請 結 果 及 發 放

More information

2

2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 strong s 41 strong s 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

More information

面 試 考 古 題 01 請 你 先 簡 單 做 個 自 我 介 紹 自 我 介 紹 通 常 是 面 試 的 第 一 題 在 雙 方 對 彼 此 都 不 太 熟 悉 的 情 況 下, 由 求 職 者 簡 短 自 我 介 紹 中, 面 試 官 可 快 速 掌 握 求 職 者 的 背 景 資 料, 並

面 試 考 古 題 01 請 你 先 簡 單 做 個 自 我 介 紹 自 我 介 紹 通 常 是 面 試 的 第 一 題 在 雙 方 對 彼 此 都 不 太 熟 悉 的 情 況 下, 由 求 職 者 簡 短 自 我 介 紹 中, 面 試 官 可 快 速 掌 握 求 職 者 的 背 景 資 料, 並 面 試 考 古 題 1. 請 你 先 簡 單 做 個 自 我 介 紹 2. 請 問 你 為 何 來 本 公 司 應 徵? 3. 請 問 你 的 優 點 和 缺 點 為 何? 4. 你 欠 缺 工 作 經 驗, 請 問 你 如 何 勝 任 這 份 工 作 呢? 5. 請 問 你 對 於 加 班 的 看 法? 6. 面 試 到 這 裡, 請 問 你 有 什 麼 問 題 想 問 的 嗎? 7. 你 覺 得,

More information

加 值 型 及 非 加 值 型 營 業 稅 法 第 12 條 ( 103.1.8. 公 布 ) 特 種 飲 食 業 之 營 業 稅 稅 率 如 下 : 一 夜 總 會 有 娛 樂 節 目 之 餐 飲 店 之 營 業 稅 稅 率 為 百 分 之 十 五 二 酒 家 及 有 陪 侍 服 務 之 茶 室

加 值 型 及 非 加 值 型 營 業 稅 法 第 12 條 ( 103.1.8. 公 布 ) 特 種 飲 食 業 之 營 業 稅 稅 率 如 下 : 一 夜 總 會 有 娛 樂 節 目 之 餐 飲 店 之 營 業 稅 稅 率 為 百 分 之 十 五 二 酒 家 及 有 陪 侍 服 務 之 茶 室 加 值 型 及 非 加 值 型 營 業 稅 法 101 年 至 103 年 1 月 新 頒 令 釋 報 告 人 : 陳 麗 琪 國 稅 局 豐 原 分 局 首 頁 線 上 申 辦 Facebook 粉 絲 專 頁 輕 鬆 e 照! 稅 務 一 把 罩! 一 照 就 通, 申 辦 國 稅 免 奔 波 e 起 來 按 讚! 加 值 型 及 非 加 值 型 營 業 稅 法 第 12 條 ( 103.1.8.

More information

新・明解C言語入門編『索引』

新・明解C言語入門編『索引』 !... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177

More information

Ps22Pdf

Ps22Pdf ( CIP) :, 2002. 6 ( ) ISBN7-80176 - 023-9 /. -... - -. I106. 2 CIP ( 2002) 035734 ( ) : : : ( 100089) 1 : : : 8501168 1 /32 : 208 : 5, 400 : 2002 6 1 : 2006 5 3 : ISBN7-80176 - 023-9 : 636. 00 ( 26. 50

More information

工程设计资质标准

工程设计资质标准 工 程 设 计 资 质 标 准 为 适 应 社 会 主 义 市 场 经 济 发 展, 根 据 建 设 工 程 勘 察 设 计 管 理 条 例 和 建 设 工 程 勘 察 设 计 资 质 管 理 规 定, 结 合 各 行 业 工 程 设 计 的 特 点, 制 定 本 标 准 一 总 则 ( 一 ) 本 标 准 包 括 21 个 行 业 的 相 应 工 程 设 计 类 型 主 要 专 业 技 术 人 员

More information

4 办 公 室 工 作 实 务 ( 第 3 版 ) 第 1 单 元 单 位 组 织 的 有 效 运 作 离 不 开 办 公 室 工 作 情 景 案 例 左 景 被 宏 达 商 业 集 团 公 司 录 用 为 秘 书, 试 用 期 间, 只 能 在 办 公 室 打 杂, 有 时 工 作 稍 有 差 错

4 办 公 室 工 作 实 务 ( 第 3 版 ) 第 1 单 元 单 位 组 织 的 有 效 运 作 离 不 开 办 公 室 工 作 情 景 案 例 左 景 被 宏 达 商 业 集 团 公 司 录 用 为 秘 书, 试 用 期 间, 只 能 在 办 公 室 打 杂, 有 时 工 作 稍 有 差 错 模 块 1 办 公 室 工 作 概 述 3 模 块 1 办 公 室 工 作 概 述 学 习 目 标 知 识 目 标 : 了 解 办 公 室 工 作 的 性 质 作 用 和 职 能 理 解 办 公 室 工 作 的 原 则 性 与 灵 活 性 认 识 办 公 室 秘 书 应 具 备 的 职 业 素 养 能 力 目 标 : 培 养 办 公 室 秘 书 的 工 作 悟 性 完 善 办 公 室 秘 书 的 能

More information