O'Reilly logo

Object-oriented Programming Using C++ and Java by Anand Vasappanavara, Gautam Vasappanavara, Ramesh Vasappanavara

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

8

Functions, Storage Class Preprocessor Directives, and Arrays and Strings

LEARNING OBJECTIVES

At the end of this chapter, you should be able to

  • Understand functions and function templates and how C++ handles function execution.

  • Understand the memory mapping adopted by C++ and storage classes.

  • Program C++ with the help of macros and preprocessor directives.

  • Understand the concepts and use array and string data structure.

8.1 Introduction

It is common knowledge that experts who are dedicated to a particular job will perform the job better and faster. We approach architects for making functional and aesthetic housing. Similarly, we hand over control to doctors to take care of our health. In C++ language, we hand over jobs to functions specially ...

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