c++ Sintaksis

maxsharr

maxsharr

Posted on March 23, 2023

c++ Sintaksis

Assalomu alaykum men bugun c++ darsturlashda Sintaksis xaqida o'rganim chiqdim sizlarga birma bir tushuntirib beraman

Misol uchun:

#include <iostream>
using namespace std;

int main()
{

cout <<"Hello world";


return 0;
}
Enter fullscreen mode Exit fullscreen mode

1 qator #include bu nma degani (include) chaqirish iostream degani kutubhona degani bu degani #include iostream ni chaqiryapti

2 Using namespace std biz kutubhonadan kodlardan foydalanishimizi anglatadi

3 int main bu funksya biz bu funksyaga har qancha kod yozsak boladi faqat jingale qovusi icida yozilishi shart

4 cout korish uchun degani bu yerga kod yozishimiz kerak boladi

5 return 0 bu kodini tugatish uchun yoziladi buni jingalak qavus ichida yozish shart

💖 💪 🙅 🚩
maxsharr
maxsharr

Posted on March 23, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

C++ Урок #7
programming C++ Урок #7

March 8, 2024

CGPA CALCULATOR
programming CGPA CALCULATOR

November 30, 2023

c++ Sintaksis
programming c++ Sintaksis

March 23, 2023

1 dars
programming 1 dars

November 3, 2022