C++ Tutorial

Gujarati:

C++ પ્રોગ્રામિંગ એક વધુ મોટી ભાષા છે જેને Bjarne Stroustrup દ્વારા 1980 માં વિકસિત કરવામાં આવી હતી. C++ એ C પ્રોગ્રામિંગ ભાષા પર આધારિત છે પરંતુ તેનાં પર ઓછા કલાઓ આધારિત છે અને તે ઓબ્જેક્ટ-ઓરિએન્ટેડ પરિપ્રેક્ટિસ અને પરિધેય વ્યવહાર પૂરી પાડે છે. C++ પ્રોગ્રામિંગની પોપ્યુલેરીટી વાચાળ છે કારણકે તે વધુ ટેક્સ્ટાઈલ અનુક્રમણિકાઓ, પાવરફુલ પ્રોગ્રામિંગ સાધનો અને વિસ્તારિત પ્રયોગાત્મકતા આપે છે.

English: 

C++ programming is a more advanced language developed by Bjarne Stroustrup in 1980. It is based on C programming language but incorporates fewer flaws and supports object-oriented practices and encapsulation. C++ programming is popular because it offers more syntactical features, powerful programming tools, and greater versatility in application.


Hello, World! Program using C++

Gujarati: અહીં છે "Hello, World!" પ્રોગ્રામ C++ ભાષામાં

#include <iostream>

using namespace std;

// main() is where program execution begins.

int main() {

   cout << "Hello World"; // prints Hello World

   return 0;

}


English: Here is the "Hello, World!" program in C++:

#include <iostream>

using namespace std;

// main() is where program execution begins.

int main() {

   cout << "Hello World"; // prints Hello World

   return 0;

}