C++ birinchi tushunchalar(cout,endl,\n,kutubxonalar)

Kutubxona

STD
std nom maydonidan foydalanish standart kutubxonadagi ob’ektlar va o’zgaruvchilar uchun nomlardan foydalanishimiz mumkinligini anglatadi.

#include <iostream>
int main(){
std::cout << "Hello Lord Nikon\n";
}
Enter fullscreen mode
Exit fullscreen mode

\n – bu alohida bir qatorga otkazib qo’yadingan funksiya huddi tepadagi yozganimiz dek.Ammo bunga o’xshash yana shunday funksiyani bajaradigan funksiya bor va un endl deb ataladi.

#include <iostream>
int main(){
std::cout << "Hello Lord Nikon" << enld;
}
Enter fullscreen mode
Exit fullscreen mode

\n biz ikkita vergul ichiga yozamiz, lekin endlda esa ikkita vergul tashqarisida yozamiz, tapada yozib o’tkanimizdek.


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Android app development. Jamb 2025 sure expo solutions /best jamb 2025 sure questions and answers. Working from home tips : how to stay productive and thrive in remote work.