DEV Community

Abdumutal
Abdumutal

Posted on

3 2

C++ dasturlash tili | 2

Salom!

Siz C++ haqidagi barcha malumotlarni w3schools dan olishingiz mumkin link ni ustiga bosangiz u yerda hamma dasturlash tiliga oid darslar mavjud u yerda css; html; c/c++; python; java; php; java/javaScript ... va boshqa dasturlash tillarini o'rganishingiz mumkin.

C++ asoslari

C++ da code yozish avvalo siz:

  • Kodni tahrirlash va kompilyatsiya qilish uchun IDE (Integrated Development Environment) ishlatiladi.

  • Mashhur IDE-larga Code::Blocks, Eclipse va Visual Studio kiradi. Bularning barchasi bepul va ular C++ kodini tahrirlash va disk raskadrovka qilish uchun ishlatilishi mumkin

  • Agar siz bularni o'rnata olmasangiz link ustiga bosing.

    C++ code

    C++dagi eng osson code mana shu:

#include <iostream>
using namespace std;
int main(){
cout << "Hello world!" << endl;
return 0;
}
Enter fullscreen mode Exit fullscreen mode

Bu yerdagi mana bu narsa

#include <iostream>
Enter fullscreen mode Exit fullscreen mode

C++ tili kutubxonalari hisoblanadi
Bu esa

cout << "Hello world!" << endl;
Enter fullscreen mode Exit fullscreen mode

bu esa dastur.

  • endl bu endline hisoblanadi!

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

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

Okay