Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@shashankdas58875 жыл бұрын
C,ds and c++ videos are excellent.. thanku Naresh it.. can u please make videos on PHP and Ajax..for web development
@ravikaramunge80284 жыл бұрын
Hello Kishore sir please provide each and every topics in Your C++ playlist Many concepts are missing like Function Overloading ,and thanks your C++ lectures are too good getting every clear idea.I hope you will see my comment,😔
@kirtisoni79586 жыл бұрын
It was really helpful to all of us ..so thanks a ton sir for uploading this useful video for us ...and pls keep uploading like this always 😇😇
@muhdjamilalhakimbmohdrodzi4298 Жыл бұрын
OMG! This guy is a very good explainer. ❤
@pppriyatimes1174 Жыл бұрын
Thank you sir 😊
@ajaykharat86896 жыл бұрын
whenever we are able to change the object such object is called mutable object and unchangeable object is called inmutable object possible using constant function(accessor) #include #include #include using namespace std; class ajay { private: int a,b; public: void getdata() //Modifier { a=10; b=20; } void showdata() const //Accessor { // a=30; //error: assignment of member 'ajay::a' in read-only object // b=40; ////error: assignment of member 'ajay::b' in read-only object cout
@raminkord83346 жыл бұрын
Thank u sir for your lucid explanation
@aliamjad87177 жыл бұрын
Thanks for this useful lesson.
@Alihndhwhrhdheh4 жыл бұрын
Thank you very much it's good
@BeingBookish3 жыл бұрын
3:54 the data type should be float 😅
@kapiljetwani35404 жыл бұрын
thanks sir! but would prefer you to explain the examples in the compiler rather than in white board
@KandakatlaDeekshith7 жыл бұрын
Hi Sir, in last session, as you said static member function are works on only static variables but in last session you have used local arguments as a normal variables to a function. ex: static void test(int a,int b) here int a and int b are the non-static variables, what happens here can you explain me more regarding this. and here a and b are the static variables or non-static variables to that function?
@asifbhat37967 жыл бұрын
Kandakatla Deekshith It means that static Function can not use instance member variables it does not mean it can use local variables for example if in an static member function I increment the data member of class if the class has two objects then how complier will know in which object the changes should be reflected
@vamshikumar52464 жыл бұрын
Super explained
@Cloudnexvlogs5 жыл бұрын
Great lecturer
@kanuraagkaushik976 жыл бұрын
const float pi=3.14; and not const int pi=3.14;
@vibhu1235 жыл бұрын
Sir class and constructor me colon or semicolon hota hai??? That u have written.
@imposter5716 Жыл бұрын
still helpful in 2023
@mayankyadav317 жыл бұрын
wonderful!!
@PiyushBansal-qg1vk Жыл бұрын
class si { int p; int t; const float r; public: si():r(5.5) //this constructor is made only due to a special purpose to initialize the value of const data member //as we know static member function value initialize outside the class nd declared inside the class { } void getdata(int principal,int tim) { p=principal; t=tim; } float putdata() { cout
@mdaffansajjad32945 жыл бұрын
why we are not initializing p and t inside a constructor
@nishantsingh18252 жыл бұрын
sir it is not showing any error why? we are provide direct value of const........... #include using namespace std; class sample { float p; float t; const float r=2.5; public: void getdata(float x,float y) { p=x; t=y; } float read() { return (p*t*r)/100; } }; int main() { sample t1; t1.getdata(1000,10); cout
@LousyPainter6 жыл бұрын
Wow just wow! You are amazing lets go have a beer.
@giovanilima8538 Жыл бұрын
sabe muito
@spreadingpeace24253 жыл бұрын
good videos
@ankitkumaryadav5623 жыл бұрын
// Be carefull// // It does't give error const void print() { a = 12; b = 14; } // it gives error void print() const { a = 12; b = 14; }
@ajaykharat86896 жыл бұрын
#include #include #include using namespace std; class ajay { private: float pri; int ti; const int rate; //in C const var must initilized at time of declaration only. //But in C++ data memeber initilization is not allowed in private section // and are allowed in public section using member function or constructor public: ajay(): rate(12) // C++ syntax for const initilization { } void getdata(float pri,int ti) { this->pri=pri; this->ti=ti; } float calc() { return (pri*ti*rate)/100; } }; int main() { ajay a1; a1.getdata(10500,2); f=a1.calc(); float f; cout
@rebelkhan47476 жыл бұрын
hello sir, sir what is the name of small window thats open in INT_ MAIN function of class (i-e, classname obj;). sir i want to say that if we write OBJ. then there is a small window open a side .. what is it's name??????