0% found this document useful (0 votes)
46 views

01 Introduction To Cplusplus

This document provides an introduction to C++ programming in 3 sessions. It discusses the history of C++, how it was developed based on C but added object-oriented programming features. Some advantages of C++ are its use for general purposes, as a middle-level language with high performance due to compiled code. Popular integrated development environments for C++ programming are listed such as Turbo C++, Borland C++, and Dev C++.

Uploaded by

poor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

01 Introduction To Cplusplus

This document provides an introduction to C++ programming in 3 sessions. It discusses the history of C++, how it was developed based on C but added object-oriented programming features. Some advantages of C++ are its use for general purposes, as a middle-level language with high performance due to compiled code. Popular integrated development environments for C++ programming are listed such as Turbo C++, Borland C++, and Dev C++.

Uploaded by

poor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

‫ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ ﺑﻪ زﺑﺎن ‪C++‬‬

‫ﺟﻠﺴﻪ اول ‪ :‬آﺷﻨﺎﯾﯽ ﺑﺎ زﺑﺎن ‪C++‬‬

‫ﻣﺪرس ‪ :‬ﻣﻬﺪی زﻋﻔﺮی‬

‫‪mzsoftware.ir‬‬
‫ﻓﻬﺮﺳﺖ ﻣﻄﺎﻟﺐ‬

‫• ﺗﺎرﯾﺨﭽﻪ ‪C++‬‬

‫• ﭼﺮا ‪) C++‬ﻣﺰاﯾﺎ و ﮐﺎرﺑﺮدﻫﺎ(‬

‫• آﻣﺎده ﺳﺎزی ﻣﺤﯿﻂ ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ‬


‫ﺗﺎرﯾﺨﭽﻪ ‪C++‬‬

‫رﯾﭽﯽ‪۲‬‬ ‫• ‪ - ۱۹۷۲‬ﻃﺮاﺣﯽ زﺑﺎن ‪ C‬در آزﻣﺎﯾﺸﮕﺎه ﻫﺎی ﺑﻞ‪ ۱‬ﺗﻮﺳﻂ دﻧﯿﺲ‬

‫اﺳﺘﺮوﺳﺘﺮاپ‪۳‬‬ ‫• ‪ - ۱۹۸۰‬ﻃﺮاﺣﯽ زﺑﺎن ‪ C++‬در آزﻣﺎﯾﺸﮕﺎﻫﻬﺎی ﺑﻞ ﺗﻮﺳﻂ ﺑﯿﺎرن‬

‫‪Dennis Ritchie - 2011‬‬ ‫‪Bjarne Stroustrup - 2010‬‬

‫‪1. Bell Labs‬‬ ‫)‪2. Dennis Ritchie (1941 - USA‬‬ ‫)‪3. Bjarne Stroustrup (1950 - Denmark‬‬
‫دو ﺳﺒﮏ ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ‬

‫• دو ﺳﺒﮏ ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ‬

‫ﺗﺎﺑﻊ‪۲‬‬ ‫‪ ๏‬ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ ﺳﺎﺧﺖ ﯾﺎﻓﺘﻪ‪ - ۱‬ﻣﺒﺘﻨﯽ ﺑﺮ ﻣﻔﻬﻮم‬

‫ﺷﯽ‪۵‬‬ ‫‪ -‬ﻣﺒﺘﻨﯽ ﺑﺮ ﻣﻔﻬﻮم ﮐﻼس‪ ۴‬و‬ ‫ﮔﺮا‪۳‬‬ ‫‪ ๏‬ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ ﺷﯽ‬

‫• زﺑﺎن ‪ C‬ﺳﺎﺧﺖ ﯾﺎﻓﺘﻪ ﺑﻮد و ‪ C++‬ﻗﺎﺑﻠﯿﺖ ﺷﯽ ﮔﺮاﯾﯽ را ﺑﻪ آن اﻓﺰود‪.‬‬

‫‪C + OOP = C++‬‬

‫‪1. Procedural Programming‬‬ ‫‪3. Object-Oriented Programming‬‬ ‫‪5. Object‬‬


‫‪2. Function‬‬ ‫‪4. Class‬‬
‫ﭼﺮا ‪C++‬‬

‫• ﻣﺰاﯾﺎ‬
‫‪ ๏‬زﺑﺎن ‪ C‬ﯾﮏ زﺑﺎن ﻫﻤﻪ ﻣﻨﻈﻮره‪ ۱‬اﺳﺖ )ﺑﺮای ﮐﺎرﺑﺮد ﺧﺎﺻﯽ ﺳﺎﺧﺘﻪ ﻧﺸﺪه(‬

‫‪ ๏‬زﺑﺎن ‪ C‬ﯾﮏ زﺑﺎن »ﺳﻄﺢ ﻣﯿﺎﻧﯽ‪ «۲‬اﺳﺖ )ﻫﻢ ﺳﻄﺢ ﺑﺎﻻ‪ ۳‬و ﻫﻢ ﺳﻄﺢ ﭘﺎ‪A‬ﻦ‪(۴‬‬

‫‪ ๏‬زﺑﺎن ‪ C‬ﺣﺠﻢ و ﻃﻮل ﮐﺪ ﮐﻮﺗﺎﻫﺘﺮی دارد )ﺑﻪ دﻟﯿﻞ ﻋﻤﻠﮕﺮﻫﺎی ﻓﺮاوان(‬

‫‪ ๏‬زﺑﺎن ‪ C‬ﺳﺮﻋﺖ اﺟﺮای ﺑﺎﻻﯾﯽ دارد )ﺑﺪﻟﯿﻞ ﻓﺸﺮده ﺳﺎزی ﮐﺪﻫﺎ و دﺳﺘﻮرات ﺗﻮﺳﻂ ﮐﺎﻣﭙﺎﯾﻠﺮ‪(۵‬‬

‫‪ ๏‬ﺳﺮﻋﺖ ﮐﺪﻧﻮﯾﺴﯽ ﺑﺎ زﺑﺎن ‪ C‬ﺳﺮﯾﻌﺘﺮ اﺳﺖ )ﺑﺪﻟﯿﻞ ﺗﻮاﺑﻊ ﮐﺘﺎﺑﺨﺎﻧﻪ ای ﺑﺴﯿﺎر زﯾﺎد(‬

‫‪ C++ ๏‬ﻫﻤﻪ ﻣﺰاﯾﺎی ﺑﺎﻻ را دارد ‪ +‬ﻗﺎﺑﻠﯿﺖ ﻣﻬﻢ »ﺷﯽ ﮔﺮاﯾﯽ«‬

‫‪ ๏‬ﺑﺎ ﯾﺎدﮔﯿﺮی ‪ C++‬ﯾﺎدﮔﯿﺮی زﺑﺎﻧﻬﺎی ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ دﯾﮕﺮ راﺣﺘﺘﺮ اﺳﺖ )ﺑﺪﻟﯿﻞ ﻣﺸﺎﺑﻬﺖ در ‪(syntax‬‬

‫‪1. General Purpose‬‬ ‫)‪3. High Level Language (HLL‬‬ ‫‪5. Compiler‬‬
‫)‪2. Middle Level Language (MLL‬‬ ‫)‪4. Low Level Language (LLL‬‬
C++ ‫ﭼﺮا‬

‫• ﮐﺎرﺑﺮدﻫﺎ‬

(… , Mac OS X , Microsoft Windows , Symbian) ‫ ﻃﺮاﺣﯽ ﺳﯿﺴﺘﻢ ﻋﺎﻣﻞ ﻫﺎ‬๏

(… , Adobe Premiere , Photoshop and Illustrator) ‫ ﻃﺮاﺣﯽ ﻧﺮم اﻓﺰارﻫﺎی ﮔﺮاﻓﯿﮑﯽ‬๏

(… , Internet Explorer , Chrome , Firefox , Safari) ‫ ﻃﺮاﺣﯽ ﻣﺮورﮔﺮﻫﺎی وب‬๏

(… , Word , Excel , Access , PowerPoint , Outlook) ‫ ﻃﺮاﺣﯽ ﻣﺤﺼﻮﻻت آﻓﯿﺲ ﻣﺎﯾﮑﺮوﺳﺎﻓﺖ‬๏

(… , Winamp , Windows Media Player) ‫ ﻃﺮاﺣﯽ ﭘﺨﺶ ﮐﻨﻨﺪه ﻫﺎی ﺻﻮت و ﺗﺼﻮﯾﺮ‬๏

(… , Oracle , Mysql , Sql Server) ‫ ﻃﺮاﺣﯽ ﺳﯿﺴﺘﻢ ﻫﺎی ﭘﺎﯾﮕﺎه داده‬๏

(… , Counter Strike , SWAT , StarCraft , Diablo , WarCraft) ‫ ﻃﺮاﺣﯽ ﺑﺎزی ﻫﺎی ﮐﺎﻣﭙﯿﻮﺗﺮی‬๏
‫آﻣﺎده ﺳﺎزی ﻣﺤﯿﻂ ﺑﺮﻧﺎﻣﻪ ﻧﻮﯾﺴﯽ‬

‫ﻫﺎی ﻣﻮﺟﻮد‬ IDE۱ ‫• ﮐﺎﻣﭙﺎﯾﻠﺮﻫﺎ و‬

Turbo C++ ๏

Borland C++ ๏

Dev C++ ๏

(‫ دارد‬JDK۲ ‫ )ﻧﯿﺎز ﺑﻪ ﻧﺼﺐ‬NetBeans ๏

…‫ و‬๏

1. Integrated Development Environment 2. Java Development Kit


‫ﭘﺎﯾﺎن‬

You might also like