Modular programming in C++ (Chapter II) - Trương Công Tuấn
- Số trang
- 128
- Định dạng
- PPTX
- Dung lượng
- 3.5 MB
- Ngôn ngữ
- EN
- Trường
- Đại học Bách khoa Hà Nội
- Lượt xem
- 0
- Bình luận
- 0
- Lượt tải
- 0
Tài liệu này giới thiệu về lập trình module trong C++, tập trung vào các khái niệm cơ bản về hàm, cách sử dụng hàm chuyên nghiệp, không gian tên, lớp lưu trữ và các chỉ thị tiền xử lý.
Câu hỏi thường gặp
Tài liệu này có miễn phí không?
Có. “Modular programming in C++ (Chapter II) - Trương Công Tuấn” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 128 trang, thuộc môn Kỹ thuật lập trình trong Cơ điện tử. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.
- Tên tài liệu
- Modular programming in C++ (Chapter II) - Trương Công Tuấn
- Trường / Môn
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Nội dung
- Tài liệu này trình bày về lập trình module trong C++, nhấn mạnh vai trò của hàm như đơn vị chức năng độc lập. Nó giải thích cách tổ chức code thành các module và sử dụng hàm hiệu quả, đồng thời giới thiệu các khái niệm liên quan như tệp tiêu đề và lập trình thủ tục.
- Mục lục
- Chapter II Modular programming in C++
- The basics of functions
- Defining, calling and declaring functions
- How to use functions on a more professional level?
- Namespaces and storage classes
- Preprocessor directives of C++
- Số trang
- 128 trang
- Người đăng
- Uni24h
Đang tạo bản xem trước...
Mô tả
TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI KỸ THUẬT LẬP TRÌNH HỆ CƠ ĐIỆN TỬ Programming Engineering in Mechatronics Giảng viên: TS. Trương Công Tuấn Đơn vị: Bộ môn Cơ điện tử, Viện Cơ khí 1 Chapter II. Modular programming in C++ • Structured programming relies on top-down design, which consists of dividing programming tasks into smaller units until program blocks easy to handle and to test are achieved. In C and C++ languages, the smallest structural unit having independent functionality is called function . If functions or a group of functions belonging together are put in a separate module (source file), modular programming is realised. Modules can be compiled and tested separately, and they can be imported into other projects as well. The contents of modules (compiled or source code version) can be made available for other modules by interfaces (header files in C/C++). And certain parts of these modules are hidden from the outside (data hiding). Structural programming also contributes to creating new programs from achieved modules (components) by bottom-up design. The next parts aim at introducing our readers into modular and procedural programming in C++. Procedural programming means solving a task by subprograms (functions) that are more or less independent from one another. These subprograms call one another directly or indirectly from the main program (main()) and communicate with each other by parameters. Procedural programming can be well combined with structural and modular programming. 2 Chapter II. Modular programming in C++ The basics of functions How to use functions on a more professional level? Namespaces and storage classes Preprocessor directives of C++ 3 Chapter II. Modular programming in C++ The basics of functions How to use functions on a more professional level? Namespaces and storage classes Preprocessor directives of C++ 4 The basics of functions Defining, calling and declaring functions The return value of functio
Modular programming in C++ (Chapter II) - Trương Công Tuấn
Đang tạo bản xem trước...
TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI KỸ THUẬT LẬP TRÌNH HỆ CƠ ĐIỆN TỬ Programming Engineering in Mechatronics Giảng viên: TS. Trương Công Tuấn Đơn vị: Bộ môn Cơ điện tử, Viện Cơ khí 1 Chapter II. Modular programming in C++ • Structured programming relies on top-down design, which consists of dividing programming tasks into smaller units until program blocks easy to handle and to test are achieved. In C and C++ languages, the smallest structural unit having independent functionality is called function . If functions or a group of functions belonging together are put in a separate module (source file), modular programming is realised. Modules can be compiled and tested separately, and they can be imported into other projects as well. The contents of modules (compiled or source code version) can be made available for other modules by interfaces (header files in C/C++). And certain parts of these modules are hidden from the outside (data hiding). Structural programming also contributes to creating new programs from achieved modules (components) by bottom-up design. The next parts aim at introducing our readers into modular and procedural programming in C++. Procedural programming means solving a task by subprograms (functions) that are more or less independent from one another. These subprograms call one another directly or indirectly from the main program (main()) and communicate with each other by parameters. Procedural programming can be well combined with structural and modular programming. 2 Chapter II. Modular programming in C++ The basics of functions How to use functions on a more professional level? Namespaces and storage classes Preprocessor directives of C++ 3 Chapter II. Modular programming in C++ The basics of functions How to use functions on a more professional level? Namespaces and storage classes Preprocessor directives of C++ 4 The basics of functions Defining, calling and declaring functions The return value of functio
Đọc toàn bộ tài liệu
- Tên tài liệu
- Modular programming in C++ (Chapter II) - Trương Công Tuấn
- Trường / Môn
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Nội dung
- Tài liệu này trình bày về lập trình module trong C++, nhấn mạnh vai trò của hàm như đơn vị chức năng độc lập. Nó giải thích cách tổ chức code thành các module và sử dụng hàm hiệu quả, đồng thời giới thiệu các khái niệm liên quan như tệp tiêu đề và lập trình thủ tục.
- Mục lục
- Chapter II Modular programming in C++
- The basics of functions
- Defining, calling and declaring functions
- How to use functions on a more professional level?
- Namespaces and storage classes
- Preprocessor directives of C++
- Số trang
- 128 trang
- Người đăng
- Uni24h
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!
Chapter 11 ME 3300 Ky thuat lap trinh He co dien tu Chuong trinh cu (11) - Trương Công Tuấn
Kỹ thuật lập trình hệ cơ điện tử (Chapter 3) - Trương Công Tuấn
CHƯƠNG 13. C++ nâng cao (CHƯƠNG 13) - Trương Công Tuấn
Kỹ thuật lập trình hệ cơ điện tử (9) - Trương Công Tuấn
Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!