BinaryByter
so you have to decide case-by case
BinaryByter
though, again, never make one function do more than one thing
BinaryByter
thats a horrible code smell
MᏫᎻᎯᎷᎷᎬᎠ
It's like divide and conquer
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
?!!
thats latin for "divide and conquer"
MᏫᎻᎯᎷᎷᎬᎠ
Ahaa!!
MᏫᎻᎯᎷᎷᎬᎠ
I thought so
Anonymous
hi why i can import telegram on android studio?
BinaryByter
what?
MᏫᎻᎯᎷᎷᎬᎠ
Wat?
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
^
Got ur back bro
BinaryByter
hehehe :D
Anonymous
hi 😉🙈 i wont add telegram project on android studio ,but recive error😢😢
Anonymous
No
why ?
BinaryByter
Please describe your problem correctly
BinaryByter
and consider wether googling might help you
BinaryByter
you have to open the project in gradle
Anonymous
😒
klimi
@VeromcaWhitman مینا یاوری: Sorry, i use this link https://github.com/DrKLO/Telegram But I can not succeed
Anonymous
you have to open the project in gradle
Can you help with anydesk?
BinaryByter
Can you help with anydesk?
never used that tech
Anonymous
never used that tech
anydesk or android studio ?
BinaryByter
Nope
Anonymous
Nope
ok tanks
BinaryByter
sorry 😢
Anonymous
sorry 😢
So what do I do?
BinaryByter
open the downloaded folder with as
BinaryByter
and look at the readme
Anonymous
and look at the readme
I can not translate well English 😢😢😢😢😢😢
Anonymous
R u arabian?
no persian and Turkish
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Can u speak arabic?
MᏫᎻᎯᎷᎷᎬᎠ
🎃
Anonymous
Ahaa
no i am sorry 😢
Anonymous
Can u speak arabic?
can you help me?
MᏫᎻᎯᎷᎷᎬᎠ
can you help me?
I don't know Android studio very well sorry
MᏫᎻᎯᎷᎷᎬᎠ
+ iam kinda newin programming💔
Bader
guys, I'm still a bit confused on the whole byte array thing. Let's say I wanted a 256-bit byte array, do I do something like unsigned char[64] bytes;?
Bader
Why not use std::bitset ?
I'll look into it. I'm still pretty new to c++
Bader
stdint did not have the sizes I needed
BinaryByter
that would be a unisgned int : 1 [64] array
olli
no
Why not?
BinaryByter
Why not?
he wants an array with 64 bytes, rights?
olli
No, he wants 256 bits
olli
If I got that correct
BinaryByter
Oh
BinaryByter
then, bitset
BinaryByter
if you want memory efficiency, bitset
Bader
yeah I'll have to research it. thanks guys.
BinaryByter
if you want speed, std::vector<bool>
BinaryByter
Why should this be faster?
bitset works by applying bitmasks
BinaryByter
which is additional computation
Bader
I was using a vector, but if you say bitset is memory efficent I'll go with that
olli
bitset works by applying bitmasks
You know Vector has a.special overload for book which does the same?
Bader
I need allll the memory I can get lol
Bader
arduino 😫
BinaryByter
You know Vector has a.special overload for book which does the same?
No, the std::vector<bool> overload works on full-byte bools
BinaryByter
Not guaranteed
according to the standard, it does work on full byte bools
olli
No
olli
Link?
BinaryByter
lemme open my pdf wiever and screenshot it
olli
http://eel.is/c++draft/vector.bool
BinaryByter
BinaryByter
of type bool
olli
http://eel.is/c++draft/vector.bool#3
BinaryByter
which implies a full byte size
olli
``` There is no requirement that the data be stored as a contiguous allocation of bool values. A space-optimized representation of bits is recommended instead.