Anonymous
Will do to see what happens
Anonymous
Yeah it's a 0
Anonymous
My guess was right
luke
Stop interpreting
Okay, mister Max.
luke
BTW, I need to write a program to find IP address of the system in C language.
BinaryByter
show us how its done mister knowitall 😉
luke
Oh?
O what?
BinaryByter
That's you tbh.
Except i do really know how all that works
BinaryByter
O what?
Just get yourself the return stdout of the system
BinaryByter
parse the outout
Afees
Where is the application of virtual destructor in c++?
Anonymous
what is the use of copy constructor
BinaryByter
what is the application of virtual functions?
BinaryByter
what is the use of copy constructor
it defines what hapoens when you copy an object
Anonymous
ohokie 👍
Haixin
Where is the application of virtual destructor in c++?
for pure virtual class? (Interface in Java)
olli
Where is the application of virtual destructor in c++?
When dealing with polymorphism you want to make sure the appropriate derived destructor is called. You can ensure this by making it virtual.
Rekha
How to do use only one if statement then multiple cases?
Haixin
How to do use only one if statement then multiple cases?
Why don't you use switch? Moreover, polymorphism can replace if/switch as a distributor.
Rekha
If I try to use if statement then. How to do?
Rekha
No no only one using if
Anonymous
No no only one using if
then use & and or in if statement
Rekha
This is right?
Rekha
Anonymous
does it even compile?
Rekha
Why
Nikolas
does it even compile?
yes it should, but makes no sense
Nikolas
Why
have you read how an if statement works?
Anonymous
thats not how of works
Vishal
Lol
Rekha
Please give me idea
Anonymous
Any one send m “let us C” book pdf
Nikolas
god this group
Anonymous
this wasn't funny ig 🙄
Nikolas
Please give me idea
if (condition) { /* What to do if condition is true */ }
Anonymous
I do that but not found😶
Nikolas
this is how you structur an if statement
Anonymous
Please give me idea
https://www.tutorialspoint.com/cplusplus/cpp_if_statement.htm
Nikolas
you can put a logical combination of conditions inside
Rekha
Please do this program
Nikolas
Anonymous
you have to use more than one if statement
Nikolas
Can u explain how?
if (a==10 || a==20) { /* here a is either 10 or 20 */ }
Nikolas
if (a>10 && a< 20) { /* Here a is between 11 and 19 */ }
Anonymous
Atlest send m pdf that is useful for new mmbres in c and c++
Nikolas
|| means "or" && means "and"
Anonymous
Atlest send m pdf that is useful for new mmbres in c and c++
dude buy sumitra arora its beginner friendly and cost around ₹1000 ig
Rekha
Write a program five subject of marks to find total mark,percentage,division using only one if condition.
Anonymous
Kk ty😊
Rekha
Yes only one using if statement
Anonymous
ok
BinaryByter
why don't you try it with infinitely many ifs at first
BinaryByter
and then you try to reduce the amount of ifs?
BinaryByter
if you even need any
Nikolas
i don't see why you would even need one for that lol
probably for printing "first division, second division" and such
BinaryByter
Rekha
I try to this program but don't correct
BinaryByter
switch?
no, not even a condition
Rekha