Chapter Contents

Previous

Next
Converting a C Program to a C++ Program

Introduction

C++ was intended to be as close to C as possible. However, C++ added many features to the language. Therefore, valid C programs are not always valid C++ programs. Examples of the differences between C and C++ are extra reserved keywords and required function prototypes. If you want to convert your C programs to C++ programs, you should be aware of the considerations outlined in this appendix.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.