C++ Splitting your Code into Multiple Files

C++ Splitting your Code into Multiple Files

Painless Programming

5 лет назад

53,770 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ilyassilyass9608
@ilyassilyass9608 - 30.11.2023 15:23

Exactly what I've been looking for not more not less, thanks

Ответить
@dooglive922
@dooglive922 - 28.08.2023 03:29

Just curious, what IDE is it that you use?

Ответить
@videosaleatorios741
@videosaleatorios741 - 17.07.2023 19:54

nuevo suscriptor !

Ответить
@naeemahmanto9915
@naeemahmanto9915 - 25.05.2023 12:47

A few years later and still an awesome video. Thank you kindly

Ответить
@senemyildiz.
@senemyildiz. - 23.03.2023 17:14

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?

Ответить
@engamrhafz8952
@engamrhafz8952 - 17.10.2022 23:36

Thanks alot

Ответить
@krishna07886
@krishna07886 - 26.09.2022 09:11

Thankyou so much ❤️

Ответить
@hewhomustnotbenamed3662
@hewhomustnotbenamed3662 - 21.06.2022 00:58

Thank you thank you thank youuuuuu

Ответить
@tomfranky1744
@tomfranky1744 - 07.06.2022 11:55

this inside the constructor is not needed even if the prototype's arguments names are the same as the private data.

Ответить
@anandajay2457
@anandajay2457 - 18.05.2022 19:36

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👍

Ответить
@nipunmittal6250
@nipunmittal6250 - 15.05.2022 06:10

which software are you using & thank you for this informative and to the point video

Ответить
@devangpatel5476
@devangpatel5476 - 29.04.2022 02:21

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)' "

Ответить
@voluptua
@voluptua - 22.04.2022 20:42

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?

Ответить
@NewLondonMarshall
@NewLondonMarshall - 26.01.2022 18:16

Fantastic video, just discovered your channel! You have a new subscriber! :)

Ответить
@gamerwithin8241
@gamerwithin8241 - 05.08.2021 09:49

Thx

Ответить
@jrm_music7229
@jrm_music7229 - 29.06.2021 09:28

Thank you so much !! Header files so important!!

Ответить
@mayankk104
@mayankk104 - 22.05.2021 10:37

hey, can you make a video on how to split generic ( template ) classes in different files?

Ответить
@japmankohli8654
@japmankohli8654 - 15.05.2021 05:58

Thanks. Pretty easy to understand.

Ответить
@waterisgood2051
@waterisgood2051 - 01.02.2021 13:31

love u

Ответить
@protennis365
@protennis365 - 11.12.2020 06:36

Thank. This part for confusing me for hours.

Ответить
@mkwriterchannel1375
@mkwriterchannel1375 - 21.10.2020 10:23

thank you so much to make this video you are a very good teacher very good

Ответить
@adokat
@adokat - 30.09.2020 04:59

You're not my professor, but I appreciate your work!

Ответить
@rafbi4874
@rafbi4874 - 23.04.2020 19:28

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!

Ответить
@klikrzys
@klikrzys - 30.08.2019 15:13

Thanks for explaining this. I didn't really got the idea of c++ code splitting until know.

Ответить