LectureFive - C+ Programming Language Lecture 5 C+ Basics...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 5 C++ Basics – Part III By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Hashemite University 2 C++ Versions ± The version is related to either the compiler or the integrated development environment (IDE) or both of them. ± Versions: ± Turbo C++. ± Borland C++. ± Visual C++. ± Visual C++.Net (simply it is higher versions of visual C++). ± All compilers provide standard C++ functions, nonstandard functions are compiler-dependent. ± Different operating systems have different IDEs and different compilers.
Background image of page 2
The Hashemite University 3 using Statement ± Eliminate the need to use the std:: prefix ± Allow us to write cout instead of std::cout ± To use the following functions without the std:: prefix, write the following at the top of the program using std::cout; using std::cin; using std::endl;
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Hashemite University 4 Variables Declaration ± To declare a variable you must specify its name and its data type. ± All variables must be declared before its being used in
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/29/2010 for the course COMPUTER E 2010 taught by Professor Ghadaal-mashaqbeh during the Spring '10 term at Hashemite University.

Page1 / 9

LectureFive - C+ Programming Language Lecture 5 C+ Basics...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online