Calvin
.why
Calvin
So i am not such an important to you
Calvin
WhDima Yushutin: No Why?
S.
Lol
Anonymous
thank you
Anonymous
Guys I want to know something.
Anonymous
That I which could be the best platform to see each other's code
Anonymous
Like we can contribute fast without changing urls
Dima
opensource projects?
Pavel
Like we can contribute fast without changing urls
What do you mean urls? Do you need something like gitlab or something like codeanywhere? Or something else?
Anonymous
web camera
Dima
klimi
Welcome Yash
Anonymous
Welcome
Anonymous
😊
Anonymous
#noendl
klimi
Welcome
Anonymous
Anyone know a good cross-platform p2p library? (From personal experiences pref.) I was thinking about using a modified blockchain source but...
Anonymous
Maybe some better info here
klimi
I heard something about gnunet
Anonymous
Hii
Anonymous
Ty
Anonymous
Hlw
Walter
Ty
It's a bot Pooja
Anonymous
Hey everyone. The array in the create function, I need to make it visible for palind function but I can’t figure out
Anonymous
Could you help me please
BinaryByter
do you know how returning variables works?
BinaryByter
here, you will have to return the array
Anonymous
How :(
BinaryByter
lemme find something
BinaryByter
https://stackoverflow.com/questions/5130978/passing-and-returning-variables-in-c
BinaryByter
this looks promising
Anonymous
Got it, thank you
Anonymous
Yeah 😁 why
Anonymous
So how can I solve this
Anonymous
Thank you guys
BinaryByter
yes, you can return an array
BinaryByter
int[] myArrayReturningFunction { int a[5]; return a; }
BinaryByter
*surprise* they are the same thing
Dima
*surprise* they are the same thing
yeah but they are living in the different houses
BinaryByter
yeah but they are living in the different houses
two bretheren living in different hice
Dima
top kek
BinaryByter
whoops, yea int* myArrayReturningFunction() { int a[5]; return a; }
Mihail
That's only because he doesn't own the memory after the function returns that address to it, but the actual returning an array part is valid
Dima
Dima
well you can make a static and it will always return the same kek
BinaryByter
wtf man I got disappointed in you
shit happens 🤷‍♂
BinaryByter
i dont deal with areayd and pointers anymore
Dima
> needs a really simple method > std::shared_ptr in unique_ptr returning std::vector inside of std::array > i think that will do
BinaryByter
xD
BinaryByter
yea, that sortsa stuff
Anonymous
Ans. Plz.
Dima
that was pure and tasty sarcasm, but yeah
klimi
right dima
klimi
is it a
klimi
No
c mon you know its A
klimi
why no help
Dima
I press F when I see such assignments
Dima
respects man
Mihail
I press F when I see such assignments
And it's like IDE-related questions lol
Dima
yeah, but it’s so funny and stupid
Dima
I bamboozle every time I see such questions, makes me think like what’s goin’ on, why.. even..
Anonymous
Ans. Plz.
What will be the correct answer
Dima
What will be the correct answer
Why you can’t solve it?
Dima
why did you choose that speciality, come on man
MᏫᎻᎯᎷᎷᎬᎠ
Ans. Plz.
https://www.vsni.co.uk/products/genstat/htmlhelp/windows/ControlKeyShortcuts.htm
MᏫᎻᎯᎷᎷᎬᎠ
Damn This is really working #include <iostream> using std::cout; int main() { class test { public: int a; }; test t; t.a = 1; cout << t.a; }
MᏫᎻᎯᎷᎷᎬᎠ
Define a class inside a function!!!
MᏫᎻᎯᎷᎷᎬᎠ
I didn't know that
MᏫᎻᎯᎷᎷᎬᎠ
Well
MᏫᎻᎯᎷᎷᎬᎠ
The question is Why I can't define a template class inside a function?