DEV Community

kenccik
kenccik

Posted on • Edited on

С++

C++ da chop etish cout yordamida boladi, (cout) buyruguni chiqarish uchun biz bibliotekasini chaqirib olishimiz kerak.
Dev C++ da cout
C++ tilidagi cout obyekti ostream sinfining obyektidir. Bu standart C chiqish oqimi bilan bog'liq stdout . Cout ob'ekti ios_base::Init tipidagi ob'ektni birinchi marta qurish paytida yoki undan oldin ishga tushirilishi ta'minlanadi.

#include <iostream>
using namespace std;
int main () {
string a = "hello world";
cout <<a;
return 0;}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)