DEV Community

Muhammadyusuf Xotamov
Muhammadyusuf Xotamov

Posted on

1 1 1 1 1

izoh qoldirish

*Assalomu alekum bugun biz izoh qoldirishni o'rganamiz
*

  • // bir qatorli izoh

  • /* */ kop qatorli izoh

C++ dasturlash tilida

belgidan // so'ng izoh yoziladi. Bu belgi faqat bir qatorli izoh uchun amal qiladi. Bir nechta qator uchun qo'llashingiz mumkin. Buning uchun // ni har bir qatorda qo'lashingiz zarur bo'ladi.


cout << "Hello World" << endl; // yoniga izoh qoldirsa boladi
Enter fullscreen mode Exit fullscreen mode
  • ko'p qatorli izoh /* */
cout << "Hello World" << endl;
*/
bir nechta gaplarni misolarni ham izohga olib yuvoradi
/*
Enter fullscreen mode Exit fullscreen mode

izohlar aslida ko'pincha jamoa bilan ishlavotganda kerak boladi

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay