Anonymous
^
which triangle did i miss?
Onur
It should be 36 (4 choose 2 )*(4 choose 2) is the result Edit: (4choose 2)*(4 choose 1)= 24
Anonymous
which triangle did i miss?
Think.. answer will be released soon ( as per Aman )
D
anyone with Jquery and php devel exp?
D
I need to know is it possible to have "echo" in a while loop in php script and retrieve all the echo result, "one by one" using ajax. AFAIK, club all the echo and send it to client works for me.
Anonymous
@d3v4shish i think you need websocket for that, plain regular ajax wint return without a full response
Anonymous
wont*
Anonymous
https://web.archive.org/web/20120504043127/http://scienceblogs.com/goodmath/2006/11/the_c_is_efficient_language_fa.php Tags: #programming #c #performance
correctmaninwrongplace
https://web.archive.org/web/20120504043127/http://scienceblogs.com/goodmath/2006/11/the_c_is_efficient_language_fa.php Tags: #programming #c #performance
So it just Blame about the problem that working with pointers brings sometimes in C/C++ if we speak about optimization, well, they arent just perfect but os interesting to know that
Anonymous
Yes, it was interesting to read. Also some of the comments there.
Anonymous
Anonymous
why does this output 52? why isn't it 50? also what's 114C below
Eu
Long made short, sizeof() will also account the padding. I think that you are in a 32 bits int platform, so if you use 49,50,51 or 52 as array length, it will always return 52. Other way, if you declare an array of these elements, the ints would be not aligned. Have I explained?
Eu
and I'm not pretty sure but I think that 114C is the number of characters
Nomid Íkorni-Sciurus
why does this output 52? why isn't it 50? also what's 114C below
because sizeof prints the size needed to REPRESENT the union in memory.
Nomid Íkorni-Sciurus
Also i is likely a 32 bit integer, so it has to do padding
Nomid Íkorni-Sciurus
that's because you defined a union
Anonymous
Ah wait I get it, 52 is correct .. 50 is the size of 'c' as expected and the rest 2 is of int i so 52
Anonymous
its union
Anonymous
int is 32 bit too
Nomid Íkorni-Sciurus
Also mind they're both signed types...
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
@anunaym14 How about sizeof(int) ?
Anonymous
oops
Nomid Íkorni-Sciurus
Anonymous
no
Why?
Nomid Íkorni-Sciurus
they don't sum this way
Nomid Íkorni-Sciurus
also because you can't represent a 32 bit integer into a byte
Anonymous
Oh
Anonymous
So if union was a class ... Size of that class won't be 52?
Nomid Íkorni-Sciurus
I guess the 2 bits are because they're both signed types
Nomid Íkorni-Sciurus
@anunaym14 try making them both unsigned, it should say 50
Anonymous
So if union was a class ... Size of that class won't be 52?
union should have the size of the largest member
Nomid Íkorni-Sciurus
structs do actual sum instead.
Anonymous
structs do actual sum instead.
Oh, so I confused with them
Anonymous
union should have the size of the largest member
Hmm, ok I didn't knew about union actually .. confused it for a struct ..
Anonymous
My bad
Anonymous
it's okay
Nomid Íkorni-Sciurus
wtf is kililinux ?
Nomid Íkorni-Sciurus
Kali? really? Why do yo- No, I don't want to know.
Nomid Íkorni-Sciurus
I'm going to /warn you for this U.u
Nomid Íkorni-Sciurus
Vous ne recevrez pas d'aide pour Kali.
Nomid Íkorni-Sciurus
(google translate, I hope it's spelled good)
Anonymous
just Google bro
Anonymous
p.s: use nix os
Nomid Íkorni-Sciurus
hey what's going on o.o
Roxifλsz 🇱🇹
Stop shilling groups/channels
Roxifλsz 🇱🇹
This group is not for webdev stuff
Anonymous
Anonymous
Admin
Roxifλsz 🇱🇹
Nobody's perfect tbh, all humans eventually make mistakes :D
Anonymous
Roxifλsz 🇱🇹
Nice meme bro, want a warn?
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
Please stop this
Nomid Íkorni-Sciurus
/report
Anonymous
Nomid Íkorni-Sciurus
thx
no, thank to you U.u"
Anonymous
I sense a strong hate towards php
Anonymous
I sense a strong hate towards php
From whom? Don't watch me
Anonymous
xd
Anonymous
uh?
Read Mester's bio
Ruslan
https://quedeus.com/en/what-is-a-numeral-system/
Anonymous
Such OT much wow
mark
Hi
Сардорбек
hi
Mat
Welcome to the new guys/girls!
George
/help@GroupButler_bot
Mat
Welcome :)
Anonymous
/help@GroupButler_bot
Anonymous
Hi guys, why c++11 gives me error about a missing arg ("candidate expect 1 arg, 0 provided") of a method, but doesn't when compiled with c++14?
Anonymous
MWE?
Liam
MWE?
That's the short for "Minimal Working Example". Check the pinned information for more.