Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (92.49 KB, 10 trang )
<span class='text_page_counter'>(1)</span><div class='page_container' data-page=1>
Ø Programming language is an artificial language designed to
communicate instructions to a machine, particularly a
computer.
Ø Types of Programming Languages
Ø High level languages
Ø Low level languages
Ø Assembly Language
Ø Machine Language
Ø Programming Types
Ø Structured Programming
Ø Object Oriented Programming
Ø IDE
Ø An IDE or interactive development environment is a software
application that provides comprehensive facilities to computer
Ø An IDE normally consists of a source code editor, build
automation tools and a debugger.
Ø Microsoft Visual Studio is an integrated development
environment (IDE) from Microsoft Corporation.
Ø It is used to develop console and graphical applications along
with Windows Forms, Websites in both native code and with
managed code.
Ø It is supported by Microsoft Windows, Win Mobile, Win
CE, .NET Framework.
Ø Our First Program
#include <iostream.h>
using namespace std;
// main() is where program execution begins.
int main()
{
cout << "Hello World"; // prints Hello World
return 0;
}
Ø A program which gets two values from user, add them and
shows the result.
Ø Some common elements in programming languages
Ø Key Words
Ø Programmer-Defined Identifiers
Ø Operators
Ø Punctuation
Ø Syntax
Ø Also known as reserved words
Ø Have a special meaning in C++
Ø Can not be used for any other purpose
Ø Key words in the example program