BinaryByter
BinaryByter
no, always
we plan on having an SFINAE version with allocator-types that allow for realloc though 🤔
Ariana
Ariana
Yup for any chunk size thats like smaller than 80, malloc does this weird thing where it makes a doubly linked list thingy
Ariana
To speed it up
Ariana
its weird but works
BinaryByter
wtf?
Ariana
It was also the cause of dlmalloc free arbitrary write in 2001 iirc😛
Ariana
http://man7.org/linux/man-pages/man3/mallopt.3.html https://heap-exploitation.dhavalkapil.com/diving_into_glibc_heap/bins_chunks.html
Ariana
its pretty cool actly
BinaryByter
🤔
Ariana
malloc/free is way more weird than it seems
BinaryByter
And i'll have to implement that
BinaryByter
;_;
BinaryByter
kill me
Anonymous
And i'll have to implement that
Thats clearly not the worst in my eyes :D
BinaryByter
Thats clearly not the worst in my eyes :D
yea, acpi is lurking around the corner
BinaryByter
I know
BinaryByter
dont remind me
BinaryByter
i had already built my bubble
Anonymous
Yeah, scheduling can be also a pain
BinaryByter
thats future-me's problem
BinaryByter
right now, i'm composing a piece of music
Anonymous
Most of the time I fight with that at work
BinaryByter
:)
BinaryByter
dont remind me that such issues exist
BinaryByter
pl0x
BinaryByter
BinaryByter
Ariana
wtf
klimi
oh maxi
BinaryByter
BinaryByter
oh maxi
klimi?
klimi
klimi?
you alright?
BinaryByter
yea
klimi
okay...
Dan
Where did u lear all this bro
I figured it out by messing around with pointers.
Anonymous
Oho
Anonymous
Ok
Anonymous
Tq
M.Munther
How to make program ,which can use keys from the keyboord. like f1 or f2 😉
M.Munther
like. enter f2 to start
RAKESH
👍
Deniz
https://stackoverflow.com/questions/7798242/keyboard-mouse-input-in-c
Deniz
https://stackoverflow.com/questions/41600981/how-do-i-check-if-a-key-is-pressed-on-c
Anonymous
#cbook
Anonymous
Take a look at "C++ Programming" https://play.google.com/store/apps/details?id=com.cpp.skymines
klimi
What is this
klimi
@linuxer4fun
Anonymous
I built app
klimi
Guys look at that awesome app
Anonymous
i asked for the permission to add links of videos given in notes of this channel
Anonymous
that I added to my application
Anonymous
i just added links
Mihail
Take a look at "C++ Programming" https://play.google.com/store/apps/details?id=com.cpp.skymines
If I am honest it's pretty bad. There is quite a lot of misinformation, the code examples are even worse and the apps itself doesn't have a good UX either. The scrolling isn't actually smooth and the colors for the syntaxis highlighting are ugly to unreadable. Not to mention it doesn't even look like it highlights correctly
Mihail
But app issues aside like I said information isn't correct at places
Mihail
And the code examples are even worse
Anonymous
Thank you Mihail Mihov
Anonymous
I remove all that codes
Anonymous
and
Anonymous
try better
Mihail
Nice
Anonymous
I will try to follow google material design next time
Anonymous
hi
klimi
Hi china
Mihail
try better
Also just a few things related to the code: 1. Don't use conio.h 2. Don't do using namespace std; 3. Don't use std::endl 4. If you're teaching C++ then teach std::string, not char arrays (C-style strings) and don't teach things like strcpy, strcat and so on 5. Indent your code and it isn't very readable like this. Don't wrap lines but instead allow for horizontal scrolling
BinaryByter
this feels like a bland man helping someone with down syndrome
BinaryByter
btw: my drawing from art classes today ways called "michael and his down syndrome: the fight for the beautiful horse"
Anonymous
Hi
Walter
Heyy hi