Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
C Programming for the Absolute Beginner phần 5
Đang chuẩn bị liên kết để tải về tài liệu:
C Programming for the Absolute Beginner phần 5
Nam Thanh
45
25
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'c programming for the absolute beginner phần 5', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 5 Structured Programming a function that contains the logic and structures to handle this procedure and then reuse that function when needed. Putting all the code into one function that can be called repeatedly will save you programming time immediately and in the future if changes to the function need to be made. Let me discuss another example using the printf function which you are already familiar with that demonstrates code reuse. In this example a programmer has already implemented the code and structures needed to print plain text to standard output. You simply use the printf function by calling its name and passing the desired characters to it. Because the printf function exists in a module or library you can call it repeatedly without knowing its implementation details or in other words how it was built. Code reuse is truly a programmer s best friend Information Hiding Information hiding is a conceptual process by which programmers conceal implementation details into functions. Functions can be seen as black boxes. A black box is simply a component logical or physical that performs a task. You don t know how the black box performs implements the task you just simply know it works when needed. Figure 5.2 depicts the black box concept. Figure 5.2 Demonstrating the black box concept. Consider the two black box drawings in Figure 5.2. Each black box describes one component in this case the components are printf and scanf . The reason that I consider the two functions printf and scanf black boxes is because you do not need to know what s inside of them how they are made you only need to know what they take as input and what they return as output. In other words understanding how to use a function while not knowing how it is built is a good example of information hiding. Many of the functions you have used so far demonstrate the usefulness of information hiding. Table 5.1 lists more common library functions that implement information hiding in structured
TÀI LIỆU LIÊN QUAN
A Complete Guide to Programming in C++
Lecture Programming principles and practice using C++: Chapter 27 - Bjarne Stroustrup
C# 3.0 Cookbook™
Beginning Algorithms
Beginning C# 2008
Lecture Practical C++ programming - Chapter 29: Programming adages
C# 4.0 IN A NUTSHELL
C Programming language
C++ Programs to Accompany Programming Logic and Design
C++ PROGRAMMING: FROM PROBLEM ANALYSIS TO PROGRAM DESIGN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.