Комментарии:
Exactly what I've been looking for not more not less, thanks
ОтветитьJust curious, what IDE is it that you use?
Ответитьnuevo suscriptor !
ОтветитьA few years later and still an awesome video. Thank you kindly
ОтветитьI think Date(int month = 1, int day = 1, int year = 2019) func is not a default function. Default function should be like this: "Date()". what do you think of that?
ОтветитьThanks alot
ОтветитьThankyou so much ❤️
ОтветитьThank you thank you thank youuuuuu
Ответитьthis inside the constructor is not needed even if the prototype's arguments names are the same as the private data.
ОтветитьHi! I am from India. I have just learnt C++.
I define those function in the class only. Means all logic in inside the function in the class.
So, my question is - what the difference if we define the function in the class or outside the class(As shown in video). As i know that the memory allocated to variable leaves going outside the { }.
If there are more function defined(implemented) inside the class, will instance of that class(while created) takes more memory.
Or nothing will effect wethere defined inside or outside(as shown in the video) the class.
Thanks👍
which software are you using & thank you for this informative and to the point video
Ответитьits not working for me. I am not getting an error but it's just not workign for me. Its not printing anything. it says"undefined reference to `Date::Date(int, int, int)' "
ОтветитьI don't really understand why you should use a second cpp file when you can just put everything into one header file and than include the headerfile and than just use it in the main file. Can you tell me pls?
ОтветитьFantastic video, just discovered your channel! You have a new subscriber! :)
ОтветитьThx
ОтветитьThank you so much !! Header files so important!!
Ответитьhey, can you make a video on how to split generic ( template ) classes in different files?
ОтветитьThanks. Pretty easy to understand.
Ответитьlove u
ОтветитьThank. This part for confusing me for hours.
Ответитьthank you so much to make this video you are a very good teacher very good
ОтветитьYou're not my professor, but I appreciate your work!
ОтветитьThank you so much! I have seen so many videos trying to make class header files but to no avail! You solved my problem in the first 1.20 minute! Thank you again!
ОтветитьThanks for explaining this. I didn't really got the idea of c++ code splitting until know.
Ответить