TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 4

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 4', 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ả | . The C Experience As programmers wrestled with OOP they also dealt with issues related to their chosen language . Visual Basic developers began to understand that the language and environment may be simple but it is prone to poor performance and poor designs leaving customers stranded with slow applications that they could not extend or maintain. In C server-side developers found performance but discovered another challenge. They did application development using a systems programming language. New terminology like memory-stompers and DLL Hell gave testament to the frustration of the masses. Simple problems dogged them. . Pointer Arithmetic With C a pointer could point to any block of memory regardless of whether it was the intention of the programmer. For example consider the simple program in Example 2-1. It moves a block of memory from one location to another and inverts it. Unfortunately the example is off by 1. The code touches memory one byte beyond the from block. You would probably not see the error right away. You d see it later when you tried to manage the memory of this block or another one. C and C compilers often manage memory with a linked list and the pointers to the next block in the list sit just outside the allocated blocks These types of errors hurt systems developers and absolutely murdered applications developers who didn t have the background to effectively troubleshoot these types of problems. Reliability also suffered. Example 2-1. Move and invert a block of memory move and invert from_block into to_block with size size int i for i 0 i size i to_block size-i from_block i off by one . Nested Includes One of my most vivid and frustrating memories from working with IBM came from porting a C application that had include files nested 37 layers deep. It can be a very difficult problem to manage especially for inexperienced developers. The problem goes something like this. In C you specify interfaces to your methods with other .

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.