Anonymous
What happen here guyz
Anonymous
I just saw a muna
Kumar Vipin
Thank you
Anonymous
Guys please can someone help me with c++ pdf for learning it, i am a beginner
klimi
Guys please can someone help me with c++ pdf for learning it, i am a beginner
So what isn't working in your c++ program that is working with pdfs?
Anonymous
Please i just need the pdf so that it will be a guide for me in coding
Anonymous
And secondly it will help in learning it
Anonymous
@Neko_cpp
Please should i send him me or what please
Kumar Vipin
You will get pdf on internet.
Demon
/live_amex
MᏫᎻᎯᎷᎷᎬᎠ
.
shoker
how do i get the value of i in this case
Ибраги́м
Mihail
how do i get the value of i in this case
1. Your main function should look like: int main() { } 2. The parameter value isn't actually necessary and the compiler will likely optimize it away. 3. The statements after the return won't be executed. 4. The value of I won't change because in doSomething you're modifing a copy of it
correctmaninwrongplace
correctmaninwrongplace
itsmanjeet
I really want to know if their any way to remove shared dependencies of libraries from binary Like Bin1 dep on lib1.so I have lib1.a and Bin1 is their any way i statically link Bin1 to lib1.a 🙏🙏🙏🙏
klimi
yes
klimi
link then staticaly
Anonymous
Hi
Kumar Vipin
hi
Dima
e.g. you can’t use physx libs that way without a proper agreement
Pk
Hi
Kumar Vipin
I am writing a code that accept 10 string and then sort them but my output is not right please help Here is my code ---> https://paste.fedoraproject.org/paste/7sur9pG99BZl4qrZOGlOkQ
BinaryByter
void __ablkcipher_walk_complete(struct ablkcipher_walk *walk) { struct ablkcipher_buffer *p, *tmp; list_for_each_entry_safe(p, tmp, &walk->buffers, entry) { ablkcipher_buffer_write(p); list_del(&p->entry); kfree(p); } }
BinaryByter
how is this valid C syntax?
BinaryByter
i mean list_for_each_entry_safe()
BinaryByter
its a function call
BinaryByter
but why is there a scope after?
Sasuke
If void type function doesn't returns everything so my main which is a void function return 0 when no errors?
BinaryByter
yes
BinaryByter
BinaryByter
Anonymous
am a troll
BinaryByter
i doubt that :)
Kumar Vipin
What do you mean with not right?
I am not getting excepted output.
Mat
I am not getting excepted output.
Thank you... What do you mean?
Anonymous
i doubt that :)
did you not see my autism code?
Mat
Unordered strings, same input order, reverse order
Mat
Others... which one?
Anonymous
I am not getting excepted output.
well you have quite a few mistakes
Anonymous
unix sorting?
Anonymous
or what?
Anonymous
how do you want to do it?
Anonymous
you can local scope anywhere
Anonymous
or close to anywhere
Kumar Vipin
Thank you... What do you mean?
I mean i am trying to sort them but there is something wrong in my logic so i want your help to get that right
Anonymous
it is to help group related code
BinaryByter
local scope
notice how there is no semicolon after the function call
Kumar Vipin
no
why ?
BinaryByter
(local scopes were my fist suspicion too)
BinaryByter
Ohhh!
Anonymous
if it is a macro that is ok
BinaryByter
Right
BinaryByter
How about I stop trying to make sense of the linux source code?
BinaryByter
litterally the first 50 lines of the first file of linux I open - at random - already contains such a horror
Anonymous
you just saw the good section
BinaryByter
oh it is much worse than that
I know how bad linux is
BinaryByter
linux is horrible
BinaryByter
HORRIBLE
BinaryByter
its not even optimized or fast
Anonymous
Kumar Vipin
Unordered strings, same input order, reverse order
I want to arrange them aliphaticly.
Anonymous
but parts are optimized
BinaryByter
not supposed to be
A kernel should be 😉
Anonymous
BinaryByter
optimized for bad code?
Anonymous