+ 8

challenge explanation

I want to ask about myclass() invocation is this an object creation? if it is then is there any similar to that in basic types like int or something more simple? https://code.sololearn.com/cSDCry612CuJ/?ref=app

7th Oct 2019, 9:17 PM
ABADA S
ABADA S - avatar
14 ответов
+ 6
I appreciate your help thank you from all my heart 😁 I got it
11th Oct 2019, 8:14 PM
ABADA S
ABADA S - avatar
+ 4
I knew the answer and I specified what I want from this question
8th Oct 2019, 8:11 PM
ABADA S
ABADA S - avatar
+ 4
I knew all of this but I don't know what is exactly the meaning of myclass(5) in main()
10th Oct 2019, 12:19 PM
ABADA S
ABADA S - avatar
+ 4
~ swim ~ could you help me please😊
11th Oct 2019, 7:55 PM
ABADA S
ABADA S - avatar
+ 4
sneeze done.
20th Oct 2019, 9:50 PM
ABADA S
ABADA S - avatar
+ 3
sneeze go to sleep and we will resume tomorrow
20th Oct 2019, 10:14 PM
ABADA S
ABADA S - avatar
+ 3
sneeze I am sorry you are waiting me for 3 days I understood what is happening thanks I asked to ensure that myclass is an object creation and I got my answer
24th Oct 2019, 2:09 PM
ABADA S
ABADA S - avatar
+ 2
8 I suppose
8th Oct 2019, 1:11 AM
Dev Pratap
Dev Pratap - avatar
+ 1
See making a class comes In something called as Object Oriented Programming and yeah it is a kind of DataType but it's a different thing then the basic one like int, A class is a template of objects mean a class will/can contain many DataTypes in it like Int and on other side for eg - int is a command to register 4 bytes of memory.
9th Oct 2019, 1:10 AM
Dev Pratap
Dev Pratap - avatar
+ 1
Can you copy this code to the playground. Debugging it from text is difficult.
20th Oct 2019, 9:46 PM
sneeze
sneeze - avatar
+ 1
Thanks
20th Oct 2019, 9:50 PM
sneeze
sneeze - avatar
+ 1
https://code.sololearn.com/cMiWu7U9hJeu I added some lines of code to follow the code path. Seems to work fine. Can you explain you question more ? (need to go to sleep now)
20th Oct 2019, 10:11 PM
sneeze
sneeze - avatar
0
Well done. Keep Asking, keep Coding
24th Oct 2019, 2:10 PM
sneeze
sneeze - avatar