N a n o d e g r e e p r o g r a m s y L l a b u s


LESSON TWO Variables and



Download 398,54 Kb.
Pdf ko'rish
bet7/18
Sana02.01.2022
Hajmi398,54 Kb.
#308137
1   2   3   4   5   6   7   8   9   10   ...   18
Bog'liq
C Nanodegree Program Syllabus

LESSON TWO

Variables and

Memory

• 

In this section, the process memory model is introduced,  



  which contains the two fundamental memory areas, heap and  

  stack, which play an important role in C++.  

• 

Review the concepts of call-by-value and call-by-reference  



  to lay the foundations for the memory-efficient passing of  

  parameters.



LESSON THREE

Dynamic Memory

Allocation (The

Heap)

• 

This section introduces dynamic memory allocation on the  



  heap. Understand the main difference between stack and  

  heap  - the latter requires the programmer to take decisions  

  about the correct allocation and deallocation of memory. 

 Learn the commands malloc and free, as well as new and  



  delete, that are available for allocation of memory. 

• 

Review some of the most common problems with manual  



  memory management

Course Project

 

ChatBot



The ChatBot project creates a dialogue where users can ask questions 

about some aspects of memory management in C++. Your task will 

be to optimize the project with memory management in mind using 

modern concepts such as smart pointers and move semantics.




C++  |  6


Download 398,54 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   18




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish