Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Microsoft Visual C++ Windows Applications by Example
  • Table Of Contents Toc
Microsoft Visual C++ Windows Applications by Example

Microsoft Visual C++ Windows Applications by Example

By : Stefan Bjornander, Stefan Björnander
3.7 (21)
close
close
Microsoft Visual C++ Windows Applications by Example

Microsoft Visual C++ Windows Applications by Example

3.7 (21)
By: Stefan Bjornander, Stefan Björnander

Overview of this book

Table of Contents (15 chapters)
close
close
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
1
Index

Chapter 1. Introduction to C++

C++ is a large object-oriented language that supports many modern features. As the name implies, it is a further development of the language C. In this chapter, you will learn the basics of the language. The next chapter deals with the object-oriented parts of C++. This chapter covers:

  • An introduction to the languge, how the compiler and linker works, the overal structure of a program, and comments.

  • C++ is a typed language, which means that every value stored in the computer memory is well defined. The type can be an integer, a real value, a logical value, or a character.

  • An array is a sequence of values of the same type. Pointers and references hold the address of a value.

  • In C++ there are possibilities to calculate values by using the four fundamental rules of arithmetic. We can also compare values as well as perform logical and bitwise operations.

  • The flow of a program can be directed with statements. We can choose between two or more choices, repeat until a certain condition is fulfilled, and we can also jump to another location in the code.

  • A function is a part of the code designed to perform a specific task. It is called by the main program or by another function. It may take input, which is called parameters, and may also return a value.

  • The preprocessor is a tool that performs textual substitution by the means with macros. It is also possible to include text from other files and to include or exclude code.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microsoft Visual C++ Windows Applications by Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon