Vous êtes sur la page 1sur 33

,

-1 ,
, C++
: . //


.
.
: U.IT101 www.emust.edu.mn

.
.
()
()
() .
.
,

1. . ,

.
,
,
,
.

-
www.emust.edu.mn
2
1.
Data structure

- . / Data/
/Data/


.

-
www.emust.edu.mn
3
3.


.

-
www.emust.edu.mn
4
3. :
PROGRAMING


(Low-level programming language)

(High-level programming language)

-
www.emust.edu.mn
5
4. :
PROGRAMING LANGUAGES

(High-level programming language)


(a) Procedural languages
: FortranCOBOLPascalBASICC, PL/I
(b) Object-oriented languages
: JavaC++, #
(c) Script languages
: ECMAScript, PerlPHPPythonRuby
(d) Markup language
: HTML, XML

-
www.emust.edu.mn
6
4. :
PROGRAMING LANGUAGES
(a) Procedural languages

FORTRAN - FORmula TRANslator


1950-IBM (International Business
Machines, ) ,
(John Backus) -
, ,
.
, a=5 b=3
c=a+b

-
www.emust.edu.mn
7
4. :
PROGRAMING LANGUAGES
(a) Procedural languages

BASIC (Beginners All Purpose Symbolic


Instruction Code)
1965
(Dartmouth College, )
(John Kemeny), (Thomas , a=5 b=3
Kurtz) c=a+bz

-
www.emust.edu.mn
8
4. :
PROGRAMING LANGUAGES
c) (a) Procedural languages

Pascal

() (Nicklaus
Wirth) 1970-

, a=5 b=3
. c=a+b

,
.

-
www.emust.edu.mn
9
4. :
PROGRAMING LANGUAGES
(a) Procedural languages
C
1969- 1973 AT&T
(Bell Laboratories, ) ...
(Dennis Ritchie) Unix

. ,

, a=5 b=3
c=a+b
.
,
.

-
www.emust.edu.mn
10
4. :
PROGRAMING LANGUAGES
Object-oriented languages
C++
C C++
.


++
.
, a=5 b=3
c=a+b

-
www.emust.edu.mn
11
4. :
PROGRAMING LANGUAGES
d) Object-oriented languages
JAVA
JAVA Sun Microsystems
1995 . -
++ ,
2006 Java EE, Java
ME, Java Se 3 .
:

-
www.emust.edu.mn
12
4. :
PROGRAMING LANGUAGES
Markup language
HTML
HTML HyperText Markup
Language HTML

.

.
CSS (Cascading
Style Sheet) Javascript XML, HTML-
2 .

-
www.emust.edu.mn
13
4. :
PROGRAMING LANGUAGES
Markup language
XML

XML . Extensible
Markup Language . HTML

XML

:

parsing . XML
parser XML-

-
www.emust.edu.mn
14
4. :
PROGRAMING LANGUAGES
:
Nokia, Apple (iPad, iPhone), Sony
Ericsson, Samsung, Motorola, Black Berry
,

. ,

,
.

-
www.emust.edu.mn
15
4. :
PROGRAMING LANGUAGES
:
Android, iOS, Eature, webOS, Windows
Mobile, Windows Phone, BlackBerry OS, Symbian, Maemo, MeeGo, Bada,
Palm8 Tizen . (Mobile Operating
System [https://en.wikipedia.org/wiki/Mobile_operating_system ]


- .
Python, Java ME, Flash Lite, Ruby, .NET, Web Runtime (WRT), Widgets
Standard C/C++ .

-
www.emust.edu.mn
16
4. :
PROGRAMING LANGUAGES
: .
.
.
.
.
G1 .
Flash .
.
.
.
https://en.wikipedia.org/wiki/Android_%28operating_system%29

-
www.emust.edu.mn
17
4. :
PROGRAMING LANGUAGES
2.1.1AOKP Android Open Kang Project
2.1.2ColorOS
2.1.3CyanogenMod
2.1.4Cyanogen OS
2.1.5EMUI Emotion User Interface
2.1.6Flyme OS
2.1.7HTC Sense
2.1.8LineageOS
2.1.9MIUI
2.1.10LG UX
2.1.11OxygenOS
2.1.12TouchWiz
2.1.13ZenUI

-
www.emust.edu.mn
18

.
:

1. ( Designing )
2. ( Coding )
3. ( Compilnig )
4. ( Testing )
5. ( Developing )

-
www.emust.edu.mn
19
1. .
.
, ,

.
. , 2
. . 2
.
2 . 2
1 1 ,
2 .
, , 3- .

-
www.emust.edu.mn
20
2. .
,
. ,
. ,
C++-
.

3. . Compile
Run .
.

. ,
,
, .

-
www.emust.edu.mn
21
2-
.

.

4. . .
,
.
, .

-
www.emust.edu.mn
22
5. .
, , , ,

.
,
.

-
www.emust.edu.mn
23
,


.
. ,
. C++-
. asm auto break case
catch char class const
continue default delete do
double else enum extern
float for friend goto
if inline int long
new operator private protected
public register return short
signed sizeof static struct
switch template this throw
try typedef union unsigned
virtual void volatile while

-
www.emust.edu.mn
24
, , ,
.
. :
1 .
.
. .. +, -, *, /, ?, !, `, ~, , , ;, :, @, #, $, %, ^, &, (, ), =,
\, {, }, [, ], <, > , .
.
.
,
. , Fvar fvar
.


.

-
www.emust.edu.mn
25


.
.

.
.
DEFINE .

#define < > < >

-
www.emust.edu.mn
26
.

#define month 12 //
#define degree 30 //
#define pi 3.1412 //
#define name . //
#define question Sure? //

-
www.emust.edu.mn
27
// .

.
.
.
23 ,
100 . 100 23
. .

-
www.emust.edu.mn
28
// .

.
.
.
23 ,
100 . 100 23
. .

-
www.emust.edu.mn
29
25 .
23 25 .
. 23

. ,

#define num 23

, num

-
www.emust.edu.mn
30
.

#define num 25

. 23
25 .
# #define
. #define ,
3- .

-
www.emust.edu.mn
31
.

#define num 25

. 23
25 .
# #define
. #define ,
3- .

-
www.emust.edu.mn
32

1. U.IT101 -1
, ,
2. , , ,
, , ,

Vous aimerez peut-être aussi

  • Lecture - 10
    Lecture - 10
    Document35 pages
    Lecture - 10
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lec1-1 Corporate Activity Shine
    Lec1-1 Corporate Activity Shine
    Document61 pages
    Lec1-1 Corporate Activity Shine
    Amarsaikhan Tuvshinbayar
    0% (1)
  • Lecture 13
    Lecture 13
    Document46 pages
    Lecture 13
    Amarsaikhan Tuvshinbayar
    100% (2)
  • Programming Lec 6
    Programming Lec 6
    Document51 pages
    Programming Lec 6
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 12
    Lecture 12
    Document34 pages
    Lecture 12
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 15
    Lecture 15
    Document40 pages
    Lecture 15
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 4 2018
    Lecture 4 2018
    Document47 pages
    Lecture 4 2018
    Amarsaikhan Tuvshinbayar
    100% (4)
  • Lecture 8 2018
    Lecture 8 2018
    Document54 pages
    Lecture 8 2018
    Amarsaikhan Tuvshinbayar
    100% (3)
  • Lecture 11
    Lecture 11
    Document24 pages
    Lecture 11
    Amarsaikhan Tuvshinbayar
    100% (2)
  • Lecture 6 2018
    Lecture 6 2018
    Document50 pages
    Lecture 6 2018
    Amarsaikhan Tuvshinbayar
    100% (3)
  • Lecture 7 20108
    Lecture 7 20108
    Document47 pages
    Lecture 7 20108
    Amarsaikhan Tuvshinbayar
    75% (4)
  • Programming Lec 7
    Programming Lec 7
    Document57 pages
    Programming Lec 7
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 9
    Lecture 9
    Document46 pages
    Lecture 9
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 5 2018
    Lecture 5 2018
    Document54 pages
    Lecture 5 2018
    Amarsaikhan Tuvshinbayar
    100% (2)
  • Lecture 2
    Lecture 2
    Document80 pages
    Lecture 2
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 2 2018
    Lecture 2 2018
    Document33 pages
    Lecture 2 2018
    Amarsaikhan Tuvshinbayar
    100% (1)
  • Lecture 3 2018
    Lecture 3 2018
    Document42 pages
    Lecture 3 2018
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 3
    Lecture 3
    Document72 pages
    Lecture 3
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • IT101 Lecture 4
    IT101 Lecture 4
    Document72 pages
    IT101 Lecture 4
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Baikal Hotolbor
    Baikal Hotolbor
    Document2 pages
    Baikal Hotolbor
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Lecture 1
    Lecture 1
    Document54 pages
    Lecture 1
    Amarsaikhan Tuvshinbayar
    100% (2)
  • Programming Lec 9
    Programming Lec 9
    Document39 pages
    Programming Lec 9
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Programming Lec 8
    Programming Lec 8
    Document32 pages
    Programming Lec 8
    Amarsaikhan Tuvshinbayar
    100% (1)
  • Lecture 1 2018
    Lecture 1 2018
    Document39 pages
    Lecture 1 2018
    Amarsaikhan Tuvshinbayar
    100% (6)
  • Lecture 3
    Lecture 3
    Document72 pages
    Lecture 3
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Programming Lec 4
    Programming Lec 4
    Document39 pages
    Programming Lec 4
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Programming Lec 6
    Programming Lec 6
    Document51 pages
    Programming Lec 6
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Koosen 2018 Algorithm 2
    Koosen 2018 Algorithm 2
    Document48 pages
    Koosen 2018 Algorithm 2
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • PL - 3
    PL - 3
    Document47 pages
    PL - 3
    Amarsaikhan Tuvshinbayar
    Pas encore d'évaluation
  • Koosen 2018 Algorithm Programming 3
    Koosen 2018 Algorithm Programming 3
    Document46 pages
    Koosen 2018 Algorithm Programming 3
    Amarsaikhan Tuvshinbayar
    100% (1)