|
Download CD Content
In this chapter, you will learn how to:
Declare (create) variables
Use the built-in C++ data types
Create user-defined types
Add member variables to a class
Use the Microsoft .NET Framework String class
Assign values to a variable
Create expressions using the C++ operators
Cast (change) the type of a variable
In the previous chapter, we looked at the advantages of object-oriented programming and developed a simple program to illustrate the creation and use of classes.
In this chapter, we’ll take a closer look at how to create and use variables, the fundamental data types of C++, how to access and use classes from the .NET Framework, and how to create expressions using the C++ operators.
|