The Visual C++ Programming Tutorials: The Data Types, Variables & Operators - Back To The C++ Basic
| |
In this tutorial we will review the fundamental of the C++ .Net programming, learning the data types, variables and operators. Most of the contents biased to the 'native C++' because that is part of the C++ .NET 'origin'. We start declaring variables, matching the data types, assigning values and then using operators doing various type of simples operations such as mathematical, logical and relational. Other derived or user defined, aggregated types such as arrays, pointers, typedefs, enums, structures and unions also not left behind. As a 'pure' object oriented, classes and string class that normally need a separate module included as a review. As for the operators, most are similar to the native C++ operators. So you would not face any problem if you already did the C++ programming. At the end of this tutorial, the equivalent C++ .NET (.Net Framework) types derived from the System namespace are demonstrated in the working program examples. and take note also for the C++ .NET Common Language Specification (CLS) implementation. In the class there are many methods, structures and interfaces. If you need them, please dig the documentation for the details. You will also realize that the pointers are not so emphasized in C++ .Net because in managed code it has been 'redefined' as a handle that point or hold objects on the heap, the automatic garbage collection. However we know that pointers are used intensively in the underlying .NET class library 'similar 'to Java. The following are the topics for this Chapter.
| |
Best viewed using FireFox, Chrome etc. Worst viewed using IE of any version
Webmaster contact: [contact[@]visualcplusdotnet.com] Copyright 2019 © Visualcplusdotnet. All rights reserved. Excellent hosting services provided by MochaHost - The Online Central
| About | Disclaimer | Privacy | Site Index & Project Download | Native C | Contact | | |
Custom Search | |
|
|