TAILIEUCHUNG - Lecture Practical C++ programming - Chapter 10: The C++ Pre-processor

This chapter contains the greatest number of mixed up programs per page of any chapter. Preprocessor errors are more difficult to detect than normal errors. It’s also easier to make errors that will slip past the compiler. For that reason this chapter contains many broken programs. | Chapter - 10 The C Pre-processor Practical C Programming Copyright 2003 O Reilly and Associates Page 1 The Pre-processor The C Pre-processor is nothing more than a glorified text editor. It has its own syntax and knows nothing about C syntax. Practical C Programming Copyright 2003 O Reilly and Associates Page 2 define statement define SIZE 20 Tells the C pre-processor global change word SIZE to 20 . Note The define statement was widely used in the old C language which didn t have a const declaration . In C most define statements can and should be replaced by const declarations. General form of the defíne statement define Name Substitute-Text Practical C Programming Copyright 2003 O Reilly and Associates Page

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.