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
This is why our affordable cloud storage services are structured to fit a wide range of financial needs. How to install docker and docker compose on ubuntu 20. Privacy, cookie & data policy.