0

Could so.eone tell me what's wrong in here please. I'm a newbie, and still can't see this kind of mistakes..

https://code.sololearn.com/c1IbQNF6tlH3/?ref=app

22nd Aug 2018, 5:12 PM
Hls
Hls - avatar
8 Antworten
+ 1
Hls , your printdate funcrion has missing << after year..there are other errors like name is not variable in class person and bd in class
22nd Aug 2018, 5:51 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
I 've corrected some little things. Could u please tell me anything else, or if u were so kind, change them urself? I would be so pleased
22nd Aug 2018, 5:57 PM
Hls
Hls - avatar
0
Hls please have a look at code from below link : https://code.sololearn.com/cxR52v1V6yQB/?ref=app You were directly using class object in another class... to make this happen, first class member (Birthday class here) must be public... to avoid that, I have used inheritance. also added getmethod to have access to month, day and year member. feel free to ask for any thing if you cannot understand something
22nd Aug 2018, 6:43 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
thanks man. I started Learning programming four days ago, and it is already too much for my head
22nd Aug 2018, 6:47 PM
Hls
Hls - avatar
0
I have thought that after learning C++ I will go with python. do I think it would be a great move? thanks for your help
22nd Aug 2018, 6:48 PM
Hls
Hls - avatar
0
Hls , it's good to start first and you have already achieved it... go ahead and learn as much as possible
22nd Aug 2018, 6:49 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
how long does it take to learn a language at a good considerable level, more or less
22nd Aug 2018, 6:51 PM
Hls
Hls - avatar
0
it depends on how you proceed and how desperate you are..more practice takes you towards perfection
22nd Aug 2018, 6:53 PM
Ketan Lalcheta
Ketan Lalcheta - avatar