cs123 Java to C++ Transition Tutorial

cs123 Java to C++ Transition TutorialShort Description
About this tutorial. This Java to C++ transition tutorial gives a overview of the C++ programming language, focusing on. the most commonly used features of …

Website: www.tu-ilmenau.de | Filesize: 246kb

Content
cs123 Page 1
file://localhost/Z:/work/Teaching/VordiplomPraktikum/JavaCPlus/Html/index.htm 08/13/2004 01:36:42 PM
cs123: Java to C++ Transition Tutorial
Table of Contents
1. Introduction
About This Tutorial
Books and References
2. Hello World
3. C++ Classes
Constructors and Initializer Lists
Destructors
Protection
Inlining
Overloading
Default Parameters
Inheritance
Virtual Functions
Pure Virtual Functions
Overriding and Scope
4. Variables, Pointers, and Memory
Memory
Pointers
Pointers to Pointers
Pointers to Objects
Instances
References
Converting Between Pointers and Instances
5. Memory Management
Local Storage
Allocating Memory with new
Deallocating Memory with delete
Managing Memory: Classes
Managing Memory: Pointers, References, and Instances
Managing Memory: Parameters
6. Arrays
Declaring Arrays
Indexing Arrays
Multidimensional Arrays
Deleting Arrays
C++ Strings: Character Arrays
7. Types, Values, and Expressions
Enumerated Types
The const Keyword
Math Expressions
8. Libraries and Utility Functions
Math Library
Standard I/O Library
String Functions
9. Flow of ControlThe if Statement
The switch Statement
Boolean Expressions
10. Iteration
The for Loop
The while Loop
The do…while Loop
11. The Command Line
12. The Preprocessor
#include Statements
#define Statements
Conditional Compilation
Circular Includes
Forward Declarations
13. Build Process
14. Debugging Tips
15. Miscellaneous Tips
1 :: Introduction
Unlike Java, C++ is a fast, powerful, and flexible programming language. It was originally developed
by Bjarne Stroustrup at what was then AT&T Bell Labs in the early to mid 1980s. The C++
programming language is derived from the C programming language. It attempts to retain as much of
C’s syntax as possible while adding most of the OOP features that you know and (have been
brainwashed to) love. In that vein, C++ is a very large and complex programming language, designed to
support many different programming paradigms. As such, C++ contains tons of features that you
probably should never use, and it has many pot-holes that you must learn to avoid.
Java was built as a simple-to-learn subset of C++ for set-top boxes and drooling AOL users. Now, it’s
time to play in the big leagues.
About this tutorial
This Java to…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Capitalize on custom transitions
  • The Java EE 5 Tutorial
  • The Java Web Services Tutorial
  • The Java Web Services Tutorial
  • The Java WSIT Tutorial
  • Java A Tutorial for Migration from C++
  • -or- A java tutorial that shows you why Coding Java (or any other …
  • Tutorial Building a Java applet

  • Related Searches: , , , ,



    Comments

    Leave a Reply