Anonymous
i wasn't even joking
You look sweet 🍬
Otumian
This is a coding platform.. we learn and teach.. any advice, you take it, appreciate it.. not necessarily accept it to wreck your life.. I want to be better.. not have my own opinion as to why this or that.. it is this.. then it is or find a better way.. not your faulted one, beyond repair..
BinaryByter
You look sweet 🍬
that blue thing on my profile picture isn't me.
BinaryByter
Imagine a blob of fat
BinaryByter
now, put a lot of hair onto that blob of fat
BinaryByter
a LOT of hair
BinaryByter
give that blob two small legs - of fat
BinaryByter
and two small arms and hands - of fat
BinaryByter
now, paint that blob brown on two spots (those are meant to represent the eyes)
BinaryByter
no
Anonymous
a LOT of hair
Hair and fat not important
BinaryByter
Hair and fat not important
well, then i'm nothing
Mihail
no
Too fat?
BinaryByter
Too fat?
not fat enough xD
Anonymous
well, then i'm nothing
You are everything
BinaryByter
does that mean that i'm @generalsoros?
BinaryByter
ohhh yea
BinaryByter
thats more like me
Roxifλsz 🇱🇹
BinaryByter
damn I look good
Roxifλsz 🇱🇹
Plox do this in OT
BinaryByter
I should paint my face blue more often
BinaryByter
no
klimi
Hi
BinaryByter
Hi
hi
Ritu Raj
Hey guys.... Is there any group for Java/python?
Anonymous
Ritu Raj
Ohk sorry👍👍
klimi
But sure
klimi
@python
Ritu Raj
Thanks 👍
klimi
Np
BinaryByter
It is my first day
well learn more instead of directly asking
BinaryByter
copy a tutorial
BinaryByter
idk
Ritu Raj
Ritu Raj
Why 2 is incorrect but 3 is correct???
Ritu Raj
We can initialise a struct type pointer in the same structure!, but we can't declare data type of that structure in that structure?!!!????
Roxifλsz 🇱🇹
We can initialise a struct type pointer in the same structure!, but we can't declare data type of that structure in that structure?!!!????
In the second option, each aa structure created would have to create another aa strucuture immediately and that newly created structure also creates another structure and it goes on, basically an infinite loop. Something like that
Roxifλsz 🇱🇹
That doesn't happen in the third, which is why it's correct
John
Why 2 is incorrect but 3 is correct???
https://stackoverflow.com/questions/588623/self-referential-struct-definition
John
NEXT
Ritu Raj
Ohk.... In 3rd one only var can point to datatype of that structure......... But in 3rd it is creating another and another and another datatype.......
Ritu Raj
Thank You 😇😇😇
Ritu Raj
NEXT
Thanks Ashe😇
John
see more info https://www.quora.com/What-are-self-referential-structures
Ritu Raj
One more question I have...... What is need of structure in c++ if classes in C++ can do all type of work in C++?.... I mean there there is only one difference b/w them that is one is by default public and another is by default private!!.... So what is need of struct in it?....
BinaryByter
structs have different standard privateness
Ritu Raj
Do you mean private: access specifier in structure is different from private: access specifier in class?!
BinaryByter
structs are public by default
Ritu Raj
And classes are private by default!!.... Is this only difference which make there is need to make 'class' keyword in c++?
Ritu Raj
Can't we have used struct in c++ instead of class?!....
BinaryByter
yes
Ritu Raj
yes
👍👍👍👍
Anonymous
Hi
UdiT.
/notes freeprogrammingbooks
😎
/notes
😎
#findprojects
😎
#freeprogrammingbooks
Anonymous
#cpp
Praveen
Hi
Jeremy
Hi
hi
Anonymous
Hi everyone
Anonymous
I need a little help
Anonymous
I need to write another function that sums of the elements of the array in the function_4
Anonymous
But the new function does not recognise the my_arr[] since my_arr is in another function
Anonymous
How can I solve this problem
olli
pass the array (and optionally the length) as parameter to function_4
Anonymous
Thank you
Ritu Raj
Its value will not be destroyed outside the function