Tải bản đầy đủ (.pdf) (10 trang)

Lecture Visual programming: Chapter 3 - Muhammad Bilal Zafar - TRƯỜNG CÁN BỘ QUẢN LÝ GIÁO DỤC THÀNH PHỐ HỒ CHÍ MINH

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>

<b>Overview </b>


<b>of</b>



</div>
<span class='text_page_counter'>(2)</span><div class='page_container' data-page=2>

Over View



Ø 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


</div>
<span class='text_page_counter'>(3)</span><div class='page_container' data-page=3>

Over View..



Ø IDE


Ø An IDE or interactive development environment is a software


application that provides comprehensive facilities to computer


programmers for software development.


Ø An IDE normally consists of a source code editor, build


automation tools and a debugger.


</div>
<span class='text_page_counter'>(4)</span><div class='page_container' data-page=4>

Over View…



Ø 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.


</div>
<span class='text_page_counter'>(5)</span><div class='page_container' data-page=5>

Over View...



Ø 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;
}


</div>
<span class='text_page_counter'>(6)</span><div class='page_container' data-page=6></div>
<span class='text_page_counter'>(7)</span><div class='page_container' data-page=7>

An example Program



Ø A program which gets two values from user, add them and


shows the result.


</div>
<span class='text_page_counter'>(8)</span><div class='page_container' data-page=8>

C++ Program



Ø Some common elements in programming languages


Ø Key Words


Ø Programmer-Defined Identifiers
Ø Operators


Ø Punctuation
Ø Syntax


</div>
<span class='text_page_counter'>(9)</span><div class='page_container' data-page=9>

Key Words



Ø 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


</div>
<span class='text_page_counter'>(10)</span><div class='page_container' data-page=10>

Key Words..



</div>

<!--links-->

×