Chapter 29. Writing unsafe codes

When the makers of Java were deciding what to remove and retain from C++, [1] they made a huge improvement by getting rid of all pointer operations. One very important concept, which all C/C++ developers must learn early in their familiarization with that language, is pointer operations and manipulation. Pointer operations give the C/C++ developer much programming power – you can obtain the actual address of each variable, and manipulate the values stored at any address you choose. Though important, many C/C++ developers can't do pointer operations well, and the use of pointers caused many bugs in C/C++ programs. When people say that Java is an easy language to learn, one significant reason is be that Java does ...

Get From Java to C#: A Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.