Lesson 1 of 24
உங்கள் முதல் C++ ProgramYour First C++ Program
7 min 20 XP
C++, C-ன் மேம்பட்ட வடிவம்: வேகம் + classes + STL. Games, browsers, trading systems, competitive programming எல்லாம் C++-ல். cout << மூலம் திரையில் காட்டுகிறோம்; endl அல்லது "\n" புதிய வரி.
C++ builds on C with classes and the STL while keeping C's speed: games, browsers, trading systems and competitive programming all use it. cout << prints to the screen; endl or "\n" ends the line.
Example: edit me and press Run
Press Run to see the result here.using namespace std; எழுதினால் std::cout என்பதற்குப் பதிலாக cout என்று எழுதலாம். பெரிய projects-ல் std:: என்று எழுதுவதே நல்லது.
using namespace std; lets you write cout instead of std::cout. In large projects, writing std:: explicitly is considered better style.