C++ Tutorial

C++ TutorialShort Description
C++ Tutorial. CHRISTOPHER G. HEALEY. North Carolina State University. 1 BASIC PROGRAM STRUCTURE. A C++ program. 1. is made up of a mainline procedure called …

Website: www.csc.ncsu.edu | Filesize: 94kb

Content
C++ Tutorial
CHRISTOPHER G. HEALEY
North Carolina State University
1 BASIC PROGRAM STRUCTURE
A C++ program1 is made up of a mainline procedure called main(), and zero or more additional procedures to
perform operations within your program. When a program starts execution, it begins by calling the mainline procedure.
Source code for a program can be contained in a single file, or split across multiple files. Additional functionality may
also be provided via external libraries. The source code is compiled into object files. The object files are then linked
together to produce an executable program.
2 OPERATORS
Every computer language provides a set of built-in functions or operators which allow you to perform simple operations
such as addition, subtraction, increment, and decrement. C++ provides a useful set of operators to perform basic
arithmetic, operator grouping, indirection, and binary logic. An expression is a combination of variables, constants,
and operators. Every expression has a result. Operators in C++ have precedence associated with them; this means expressions
using operators are not evaluated strictly left to right. Results from the operators with the highest precedence
are computed first. Consider the following simple C++ expression:
6 + 3 * 4 / 2 +…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Web Transaction Tutorial
  • The Java Web Services Tutorial
  • The Java Web Services Tutorial
  • XML and Python Tutorial
  • Tutorial Introduction to XML messaging
  • BC ABAP Workbench Tutorial
  • Web Services Tutorial
  • AJAX - Tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply