Malloc
here is what that assholes want
"You are not entitled to an answer, getting angry about not answered questions will get you warned"
Oleksandr
"You are not entitled to an answer, getting angry about not answered questions will get you warned"
One more persone who read only 1% of messages in dialog, and then try to say smth clever
Malloc
One more persone who read only 1% of messages in dialog, and then try to say smth clever
Calculating that I read only 1% must have taken a lot of time, didn't it?
Oleksandr
I'm not angry abount not answered questions, actually i just show the answer by myself above
Oleksandr
I angry about stupid task, not about "not answered"
Oleksandr
(¯`*•.youness.•*´¯)
Hi
Cerebro
Hello
Jesvi
Hi
Jesvi
I have some doubts in c++ , how to reset (getasynckeystate) buffer ? In c++ code blocks Coz it keeps previous key in memory
Shubham
☺️
Atleast I got everything to get linked. But the output is still messed up! Any bugs you find in this?
Anonymous
/saved
kamaraj
/get best
kamaraj
#meta
kamaraj
#rules
kamaraj
#cppbook
kamaraj
#goodgoogling
m
welcome
桃桃乌龙
/get hownottoask
Anonymous
Hii
Anonymous
Hi
Anonymous
Any body online
sara
hello
Anonymous
I am new member
sara
welcome
Anonymous
Yes
Dima
/ban Read the rules
Stephanos
Thanks
Anonymous
/saved
Anonymous
#best
Anonymous
#howtoprogram
Anonymous
#findprojects
Anonymous
#cppbook
sushma
I'm facing problem in writing this code
sushma
this is the code
Lelouch
Try submitting from choose a fiel
Lelouch
File
Yashpal
My variable is integer type but I want to make it temporary float... How can I do that
Badugar
sed -e 's/chick/bot/g'
Prince
Hlo
Mihail
Anonymous
#best-book
Anonymous
/notes
Anonymous
#best-book
Anonymous
#cbook
Anonymous
"All C programs do the same thing: look at a character and do nothing with it."
Oleksandr
My variable is integer type but I want to make it temporary float... How can I do that
int val; float f1 = static_cast<float>(val); // c++ style float f2 = (float)val; // c-style
Anonymous
int val; float f1 = static_cast<float>(val); // c++ style float f2 = (float)val; // c-style
Is this right..? int a{5}; is more efficient assignment then int a(5);. And int a=5;
Oleksandr
float(val) // functional style cast 😅😅😅
float f3; int val; bzero((void *)&f3, sizeof(f3)); memcpy((void *)((char *)&f3 + (sizeof(f3) - sizeof(val))), (void *)&val, sizeof(val)); // crazy style cast
Till
int a{5}; // modern c++ style
Oleksandr
Is this right..? int a{5}; is more efficient assignment then int a(5);. And int a=5;
that is just one of 18 types of variable initialization in C++
Mihail
i'd always use the latter
Anonymous
Yes the one you're referring to is called camel case. get_ships_cordinates is snake case
Mihail
i don't think i've ever seen posessive forms being used actually
Mihail
nah that's not what he's asking
Anonymous
nah that's not what he's asking
LoL yeah sorry I didn't read his text properly
Anonymous
i don't think i've ever seen posessive forms being used actually
I haven't seen yet too but I'm sure there will be someone in this world who gonna do that one day.
Artöm
Is this right..? int a{5}; is more efficient assignment then int a(5);. And int a=5;
Not assignment, but initialization. And it isn't about efficiency, but some range checks, evaluation order or overload resolution
Jesvi
what buffer? GetAsyncKeyState simply returns a value
I use it to make use of arrow keys ... any other way to make use of arrow keys ?
Anonymous
For example, getch()
any arrow key returns -32 value
Till
any arrow key returns -32 value
Fast google: (I not check) https://pastebin.com/j3RJ3L16
Till
oh
Does it work?))
Anonymous
it does
Anonymous
Hi i am a new in programming i was trying to learn c program so can you suggest best course for basic of c programming or yt playlist please
kλletaa
What game are you trying to mod? Some games already have built in support for mods.
kλletaa
Or are you talking about cheating?
kλletaa
I see, Is that an EA game?
kλletaa
Those generally do not have modding support
kλletaa
Did they announce it?