Rakshit
😂
BinaryByter
:D
Rakshit
Aww
BinaryByter
yes, i'm my mommys little rainbow
Dima
Ok it's gone too far
Dima
#ot
Mihail
You should be able to
Mihail
Are you looking at printf?
Mihail
Look at scanf
Mihail
Why would printf need a float specifier when it can do an implicit conversion to a double?
Mihail
Afaik
Anonymous
Hi
Anonymous
How can i read advance C language ? Tell me friends
Anonymous
What does advanced C mean?
Ariana
nah
Ariana
advanced c means no imports allowed
Ariana
glhf
Anonymous
What does advanced C mean?
I mean, learn advance program and improve C coading. With the use of different HEADER file. such as <graphics.h> So, i want tO learn about these some header file. Anyone tell me how to learn .
Ariana
dOcUmEnTaTiOn
Vk
For java which is best text editor?
Talula
Visual Studio Code
Anonymous
Anonymous
Talula
Talula
Let me check that out
Talula
Nothing like that.
Anonymous
Talula
Lmao
I thought you were talking about some editor name... lol
Anonymous
😂😂
Anonymous
Net beans
Anonymous
16 years old maintainer of webceepeepee
Hi maxi don't you think this group is turning more into a home work group
Vk
Jedit is best for java
Is eclipse is better for learning for java
Anonymous
Welcome back
Kunal
Hi... Does anyone know about structure typecasting in C++ like say I typecast one structure to another?
Kunal
I got some doubt... any help would be appreciated😊
D
Take the pointer and typecast it.
D
It shoukd work
Kunal
Take the pointer and typecast it.
i did but values are changing... like i made two structures having some common objects but when I cast one to other they change.
D
https://stackoverflow.com/questions/3995940/casting-one-c-structure-into-another
olli
Hi... Does anyone know about structure typecasting in C++ like say I typecast one structure to another?
Can you share the code? C++ has strict rules regarding type casting though
D
Check comments for the second solution of pointer typecasting.
D
The behaviour i guess is undefined.
Kunal
Kunal
This is the first structure
Kunal
Kunal
this is second
Kunal
Kunal
This function performs typecasting
Kunal
Kunal
This is output... that is changing
Kunal
As "in" object is common in both structures... I expect their values should be same
D
You want both structs to have same vakue to common members ??
D
Use union then.
Kunal
For the common objects i want same value. For the above examples "in", "out", "grads_in" are common
D
And layout the struct exactly the same .
D
Union { struct 1, struct 2 }
D
This shud make common elements common, given if their layout is the same.
D
Google.
Pavel
Idealogcally, if we have equality operator for an object that can be in non initialized state (and it aware of it), e.g. object handle, then should this operator treat two non-initialized objects as equal or as not equal?
Kunal
Why don't you use a base class then?
I can't... because when activate function is called I need all the other objects that are not common. Something like typecasting.
Kunal
Kunal
like This
Kunal
Every layer has its own activate function... Base and child class will not solve this Kinda stuff
olli
Every layer has its own activate function... Base and child class will not solve this Kinda stuff
Polymorphism is a possible solution. This is undefined behavior and violates strict aliasing rules
BinaryByter
but with me as an admin, it wont
Oleg
What ways is exists to "replace" abstract class to user class?
Oleg
https://paste.ubuntu.com/p/nq5vjtV9XM/
Oleg
I can inherit Server, or I can use template for Server, but is there a way not to touch server?
klimi
Hi, is Kali linox good for c±+
Hayk
Hi guys. I have a global map. Will it be deallocated when the program is finished? Or do I have to do it myself?
BinaryByter
anything is deallocated once your program is finished
BinaryByter
would be horrible if it wasnt 🤔
BinaryByter
xD