O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required