I_Interface
Urgent..!! Anyone ?
Mate, we don't know what those function must to do Use ur debugger and watch it step by step
Dima
no photos of screens, read the rules
D
But I'm not getting solution
luke
Add (bool) before wifi.rcvreply(...).
luke
Add (bool) before wifi.rcvreply(...).
I Don't know if it'll work.
Anonymous
#include <stdio.h> void swap(int x, int y){ int temp = x; x = y; y = temp; return x,y; } int main(){ int x = 10; int y = 20; swap(x, y); return 0; } Again not working : )
luke
No not working
Or change ur function data type to bool or whatever your ide doesn't throw an error for.
I_Interface
Use swap(int &x, int &y)
and yes, use references
Anonymous
D
Or change ur function data type to bool or whatever your ide doesn't throw an error for.
Not working Ok thank u for your patience hearing muy problem Thank u friend
luke
and yes, use references
Then no need to change return type.
I_Interface
Then no need to change return type.
ye, don't need return :D
luke
👍
Anonymous
little question : i changed swap function from void to int. first : i can return 2 variables ( x, y ) ? next : when i return them , x and y of main function will changed ?
I_Interface
don't do so many ops
Dima
I_Interface
u don't need it
I_Interface
i started love this cat
I_Interface
what do u mean reference ?
u are operating with values in main, not with their copies in func
I_Interface
u also can use pointers, but refs are better
luke
I_Interface
Not much for the time being.
Too early for him ? :D
Anonymous
u also can use pointers, but refs are better
I thought about pointers, but i think its bad idea
I_Interface
I thought about pointers, but i think its bad idea
it's not bad idea, it's not the best way)
Anonymous
Too early for him ? :D
I k n o w how to use pointers : )
luke
I k n o w how to use pointers : )
Okay, buddy. It seems so.
I_Interface
I k n o w how to use pointers : )
Now learn how to use smart pointers :)
I_Interface
:D
Anonymous
Now learn how to use smart pointers :)
First i need to understund reference it's sounds useful
luke
It would be better if we all know how to use pointers smartly
Anonymous
Now learn how to use smart pointers :)
Next ii'l learn that ; you really mean there is smart pointers ?
I_Interface
Really?
Why not :D
I_Interface
ofc u can use row ptr
I_Interface
but
I_Interface
if we can use better
I_Interface
why not
Anonymous
In modern C++ u'll need it 100%
I'm focusing to learn C ( the hard way ) because someone told me that c include c++ but you know c++ not include c ; something like that
Anonymous
C++ including old code of C
Do you suggest continuing to C ++?
luke
Do you suggest continuing to C ++?
First C then C++ would be better.
BinaryByter
BinaryByter
😂
Wim
lol I can do both?
I_Interface
lol
BinaryByter
Come on, dude!!
Yea, C++ has some nice features
Anonymous
In c you messing with the cpu ? or only with the ram ?
luke
lol I can do both?
Of course you can!! Anything is possible, right?
Wim
I just don't want to do either of them most of the times due to various reasons, including the bullshit that I just saw scrolling by
I_Interface
new conversation what's to use C or C++ ? :D
BinaryByter
Yea, C++ has some nice features
But stuff like exceptions is highly bloat
BinaryByter
I saw someone implement javascript like promises in JS :D
i needed a cleanse for my eyes afterwards
luke
Yea, C++ has some nice features
Well, C++ has quite a lot of features.
BinaryByter
luke
they are mostly bloat tho
Then cleanse your eyes now.
Anonymous
who here want cool small chellenge ? must have linux
BinaryByter
Then cleanse your eyes now.
I am doing that by using pascal :D
Wim
I think its better to learn programming first and understanding what happens instead of choosing a language by its extended features not even knowing wtf is going on nor being able to use it the right way