BinaryByter
这个可以吗
this is the real why
Ariana
想要死了
Ariana
jk
BinaryByter
想要死了
This is why communism is perfect
BinaryByter
in one sentence
Ariana
XD
BinaryByter
😂
Anonymous
you know it, you prolly overread it ¯\_(ツ)_/¯
you said that a%b can't be higher than b
BinaryByter
Now chinese slave, tell me how PCM waves work and i'll give you a bit of my food 😂
Anonymous
but you never told why it is that way
BinaryByter
but you never told why it is that way
% is a way to get how much is left over when dividing in N
Anonymous
i
Anonymous
know
Anonymous
so?
BinaryByter
1 % 7 = 1 2 % 7 = 2 3 % 7 = 3 4 % 7 = 4 5 % 7 = 5 6 % 7 = 7 7 % 7 = 0
BinaryByter
so?
there is nothing left over if the number fits perfectly
Anonymous
BinaryByter
the problem is when it doesn't
you can only have 6 numbers too many at once if you divide by 7
Anonymous
how do i check if 2348723647547823%30 is <30?
Mihail
but you never told why it is that way
Well you know how you could didvide a / b by just subtracting b from a while a > b, so you're guaranteed that the remainder will be a number < a
Ariana
0%17+29 = 29 1%17+29 = 30 2%17+29 = 31 3%17+29 = 32 4%17+29 = 33 5%17+29 = 34 6%17+29 = 35 7%17+29 = 36 8%17+29 = 37 9%17+29 = 38 10%17+29 = 39 11%17+29 = 40 12%17+29 = 41 13%17+29 = 42 14%17+29 = 43 15%17+29 = 44 16%17+29 = 45 17%17+29 = 29 18%17+29 = 30 19%17+29 = 31 20%17+29 = 32 21%17+29 = 33 22%17+29 = 34 23%17+29 = 35 24%17+29 = 36 25%17+29 = 37 26%17+29 = 38 27%17+29 = 39 28%17+29 = 40 29%17+29 = 41 30%17+29 = 42 31%17+29 = 43 32%17+29 = 44 33%17+29 = 45 34%17+29 = 29 35%17+29 = 30 36%17+29 = 31 37%17+29 = 32 38%17+29 = 33 39%17+29 = 34 40%17+29 = 35 41%17+29 = 36 42%17+29 = 37 43%17+29 = 38 44%17+29 = 39 45%17+29 = 40 46%17+29 = 41 47%17+29 = 42 48%17+29 = 43 49%17+29 = 44 50%17+29 = 45 51%17+29 = 29 52%17+29 = 30 53%17+29 = 31 54%17+29 = 32 55%17+29 = 33 56%17+29 = 34 57%17+29 = 35 58%17+29 = 36 59%17+29 = 37 60%17+29 = 38 61%17+29 = 39 62%17+29 = 40 63%17+29 = 41 64%17+29 = 42 65%17+29 = 43 66%17+29 = 44 67%17+29 = 45 68%17+29 = 29 69%17+29 = 30 70%17+29 = 31 71%17+29 = 32 72%17+29 = 33 73%17+29 = 34 74%17+29 = 35 75%17+29 = 36 76%17+29 = 37 77%17+29 = 38 78%17+29 = 39 79%17+29 = 40 80%17+29 = 41 81%17+29 = 42 82%17+29 = 43 83%17+29 = 44 84%17+29 = 45 85%17+29 = 29 86%17+29 = 30 87%17+29 = 31 88%17+29 = 32 89%17+29 = 33 90%17+29 = 34 91%17+29 = 35 92%17+29 = 36 93%17+29 = 37 94%17+29 = 38 95%17+29 = 39 96%17+29 = 40 97%17+29 = 41 98%17+29 = 42 99%17+29 = 43
Ariana
have fun XD
BinaryByter
I only accept C++
Mihail
that's my problem
Subtract 30 from it until it's less than 30
Mihail
So will it be less than 30?
BinaryByter
wut
NO SWEA... PYTHON IN HERE
Anonymous
that's one easy way to think of it
Anonymous
thank you!
Mihail
No problem
Ariana
31%17+29 = 14+29 = 43 32%17+29 = 15+29 = 44 33%17+29 = 16+29 = 45 34%17+29 = 0+29 = 29 35%17+29 = 1+29 = 30 36%17+29 = 2+29 = 31 37%17+29 = 3+29 = 32 38%17+29 = 4+29 = 33 39%17+29 = 5+29 = 34 40%17+29 = 6+29 = 35 41%17+29 = 7+29 = 36 42%17+29 = 8+29 = 37 43%17+29 = 9+29 = 38 44%17+29 = 10+29 = 39 45%17+29 = 11+29 = 40 46%17+29 = 12+29 = 41 47%17+29 = 13+29 = 42 48%17+29 = 14+29 = 43 49%17+29 = 15+29 = 44 50%17+29 = 16+29 = 45 51%17+29 = 0+29 = 29 52%17+29 = 1+29 = 30 53%17+29 = 2+29 = 31 54%17+29 = 3+29 = 32 55%17+29 = 4+29 = 33 56%17+29 = 5+29 = 34 57%17+29 = 6+29 = 35 58%17+29 = 7+29 = 36 59%17+29 = 8+29 = 37 60%17+29 = 9+29 = 38 61%17+29 = 10+29 = 39 62%17+29 = 11+29 = 40 63%17+29 = 12+29 = 41 64%17+29 = 13+29 = 42 65%17+29 = 14+29 = 43 % will always make sure it is less than the modulo
Ariana
Ariana
i want to eat format strings
Ariana
jk
BinaryByter
Mihail
Mihail
Not sure if I got it right
BinaryByter
you did
Mihail
Yay
BinaryByter
but we dont have a regex bot
Mihail
BinaryByter
i hate you
Mihail
We could add one there if there isn't already
🐰🐾 سمیه
int const *p; Here p is of type " const int " or " const int * ", and why?
BinaryByter
why do you think that const int is a possibility?
BinaryByter
I want to hear your reasoning
🐰🐾 سمیه
why do you think that const int is a possibility?
Because I read it on geeksforgeeks
🐰🐾 سمیه
And doubted that
🐰🐾 سمیه
int const *ptr = &i; /* pointer to integer constant. Here i is of type "const int", and &i is of type "const int *". And p is of type "const int", types are matching no issue */
BinaryByter
Because I read it on geeksforgeeks
please, throw that page in the trash
BinaryByter
ptr is of type const int * just like &i is
BinaryByter
(i assume that i is of type int or const int)
🐰🐾 سمیه
Ok thanx 🌷🙏
BinaryByter
:D
BinaryByter
Well done on completely missing the question =D
Carlos
I missed the group
Anonymous
Thanks to be here
H̲i̲L̲e̲v̲e̲l̲
Qq
H̲i̲L̲e̲v̲e̲l̲
What is MAX_PATH?
BinaryByter
its MY path
H̲i̲L̲e̲v̲e̲l̲
Thx
H̲i̲L̲e̲v̲e̲l̲
Best help
H̲i̲L̲e̲v̲e̲l̲
Can everyone answer me?)
BinaryByter
Best help
Thanks :)
olli
What is MAX_PATH?
either google it or provide some context. It's nothing that's defined by ISO C/C++. https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
Dima
Lol
Shivam
Perfect
AmdeSelassie
Any one knows about web app or links to the web app groups?
Anonymous
Is there a c compiler for android phones
Mihail
Is there a c compiler for android phones
you could try Termux, but even better just use an actual PC
Mihail
a phone just isn't a good idea