11. A bit of C++ Roadmap


Object-oriented language genealogy



Download 2,07 Mb.
bet2/5
Sana29.12.2021
Hajmi2,07 Mb.
#81369
1   2   3   4   5
Bog'liq
11Cpp

Object-oriented language genealogy

  • © O. Nierstrasz
  • P2 — A bit of C++
  • 11.

What is C?

  • © O. Nierstrasz
  • P2 — A bit of C++
  • C is a general purpose, procedural, imperative language developed in 1972 by Dennis Ritchie at Bell Labs for the Unix Operating System.
    • Low-level access to memory
    • Language constructs close to machine instructions
    • Used as a “machine-independent assembler”

My first C Program

  • © O. Nierstrasz
  • P2 — A bit of C++
  • #include
  • int main(void)
  • {
  • printf("hello, world\n");
  • return 0;
  • }
  • char array
  • Indicate correct termination
  • Write to standard output
  • A preprocessor directive
  • Include standard io declarations

What is C++?

  • © O. Nierstrasz
  • P2 — A bit of C++
  • A “better C” (http://www.research.att.com/~bs/C++.html)
  • that supports:
  • Systems programming
  • Object-oriented programming (classes & inheritance)
  • Programming-in-the-large (namespaces, exceptions)
  • Generic programming (templates)
  • Reuse (large class & template libraries)

Download 2,07 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5




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