DEV Community

saodat19
saodat19

Posted on

#include <iostream>

alias run='clear && g++ main.cpp -o dastur && ./dastur'
* bu in out stream ya'ni kiritish chiqish oqimi hisoblanadi *

int main bu asosiy darvoa hisoblanib bu darvoza bitta hisoblanadi ma'lumotla shundan kiradi

"" bu string(ip) deb nomlanadi string ichidagi belgilar ingliz tilida character deyiladi

\bu backslash (escape character) bo'lib , agarda string ichida qo'shtirnoq bo'lsa uni yoniga yana backslash qo'yiladi
M-n : " men "a'lochi" o'quvchiman " bu yerda biz
" men \"a'lochi\" o'quvchiman" deb yozilishi kerak

cout komandasi beriadi va bu cout

Top comments (0)