creating class in c++ | oops | object oriented programming | #shorts #ytshorts

preview_player
Показать описание
Description
Hey guys hope you like this video .make sure you subscribe to the channel and comment me if you have any doubt

#programming
#c++
#python

Tags

#object oriented programming
#oops
#class in c++
#c++ program
#data structure and algorithms
#shorts
#youtube shorts
Рекомендации по теме
Комментарии
Автор

Write a constructor to pass values and a method like personInfo() to print infos of persons

TechtalkAi
Автор

Cant we use a funtion in the class??? That will print out the info for us.

JonathanSteadman
Автор

How did you use string without calling <string> library

mezo
Автор

Bad practice. They should be in private and you should have dedicated functions to set and retrieve their values. Bad. Also, you should explicitly write #include <string>

Dubov
Автор

a. gender mein se wo " a. " Kyu likha explain🙂

Memes_Karaa