Anonymous
Anonymous
Anonymous
i cant get what it's saying exactly. would you please explain?
I_Interface
You are getting a constant size of keytab array, defined by NKEYS.
Dima
It’s just the amount of elements
I_Interface
Yeah. But How it's gotten?
Size of a pointer divined on size of element of array.
I
Hi everyone! İ'm new here. And i'm learning C++(for 1year)
I
Okay
Dima
I_Interface
I
Yeah it's me hi
I
Who can explain Binary Tree?
Anonymous
Size of a pointer divined on size of element of array.
Would you please clarify it with a simple example?
I_Interface
I_Interface
Would you please clarify it with a simple example?
U alrdy have it on your second picture.
Anonymous
U alrdy have it on your second picture.
Yes, but the it doesn't have the arithmetics.
I_Interface
Search BST
Red-Black tree go. 😂
klimi
You can find visualization on the internet
I_Interface
Search BST
Or balanced tree. xd
klimi
Or balanced tree. xd
I havent dine that
klimi
And I am not programmer SK shut up sergey
Anonymous
Hi
Anonymous
what book are you reading
Anonymous
what book are you reading
K&R. I have gotten that point yet.
Anonymous
Anonymous
i think the format is good for beginners
Anonymous
for size of keytab[0], why I get zero?
14•08
And I am not programmer SK shut up sergey
😂😂😂 @I_Interface are we communicate??
Anonymous
I ran that code and got zero for n.
olli
Anonymous
Why?
Anonymous
/notes
Anonymous
#cppbookguide
olli
Why?
For the same reason that this #include <stdio.h> int main() { struct foo { char * a; char * b; int y; }; struct foo f = { "Hello", "World", 1337 }; printf("%s\n%s\n%d\n", f); } can* output Hello World 1337 ———- You're passing the struct to printf, hence the whole struct is copied and placed onto the stack. In total 3 elements will be placed on the stack - n being the third one. printf uses also two (as per format string) - hence n will be "ignored". * consult your ABI manuals
Anonymous
#ot
Giorgiogiulio
Ибраги́м
/report
What? Why?
Anonymous
What? Why?
I asked a question, didn't tell a joke 😒
Ибраги́м
I asked a question, didn't tell a joke 😒
U were misusing the report command
Ибраги́м
I asked a question, didn't tell a joke 😒
Only use the report cmd when there's a clear violation, else u will be reported
Aravind
Ya Thanks 👍
Anonymous
Only use the report cmd when there's a clear violation, else u will be reported
Ok maybe I did tell a joke and laughing in response is not a violation.
Ибраги́м
Ok maybe I did tell a joke and laughing in response is not a violation.
Not laughing... Using the 'report' command when there's clearly nothing to report
Anonymous
for size of keytab[0], why I get zero?
@ollirz So even if I only use keytab[1] in printf, still the whole struct will be passed to the stack, but the second element will be printed, right?
14•08
/report
Lol I think you are misuse report cmd
14•08
Anyway don't make me laugh for this again
14•08
You have to write /followed with start for more @somayaa2019
Rajeev
Anonymous
I could recommend a book to learn how to create graphical interfaces with C ++ 🙏🏻
I
Hi everyone
I
who know What is the cause of diamond problem in the C++?
Ilya
who know What is the cause of diamond problem in the C++?
There is no multiple inheritance in C# so there can be no diamond problem
I
Okay
Ilya
I meant C++
You can find this info in almost any book on the Net
olli
There is no multiple inheritance in C# so there can be no diamond problem
this is not true anymore as C# 8 supports interface default implementations so the issue of an ambiguous call can arise.
Talula
There is no multiple inheritance in C# so there can be no diamond problem
Multiple inheritance is simply doing something that can be done in 2 steps in a single step.
MᏫᎻᎯᎷᎷᎬᎠ
https://youtu.be/PFdKFoQxRqM
ijaj ahamed
Hi rose
Kulwinder
Hi rose
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
Is #include going to be deprecated in c++?! And if not Why?!
Nameful
doubt it, considering how much source code there is that currently relies on it