Alion🦁
Use WSL in windows
I prefer virtualMachine, using VirtualBox. But, thanks for attention 💚
Sarkar
Kk
Michele
Madhu this is the same principle of the pointer in Rust, isn't it ?
Michele
Yes like pointers but they follow this guideline called RAII (Resource Acquisition Is Initialization) and take ownership of the objects they point to and delete them automatically when the last shared_ptr pointing to that object goes out of scope or when there is an exception. Basically you dont need to use delete with them.
Michele
Thanks for the explanation
Michele
i just starting to lern Rust and I need to improve my C++ (i'm a pure C dev). Thanks ;)
Can
I need help w/ 2 class implementation w/ scope resolution operator. anybody ? :d
Can
c++
Anonymous
Sasuke
If a function frame contains
1-return location
2-value address (if non-void function)
3-func arguments
4- local variables
If that's all a frame have then where the actual code of function resides?
Artöm
In code section of binary
Harsh
Artöm
Function frame is on stack
Sasuke
Ah got ya
Anonymous
not understand
Anonymous
what they actually do
Artöm
Anonymous
probably terminal color, i guess
Anonymous
Sasuke
Means program counter changes rapidly from different segments of memory like code, bss, stack, heap
Sasuke
Sasuke
Oh thankyou miss
Anonymous
here how is fflush and memset working?
Dima
wtf
Anonymous
okay...
Can
I need help w/ class implementation w/ scope resolution operator
Can
http://codepad.org/sFG6ZpXh <— this is what I have so far but not working
Can
oh ok, I thought it that way bc it was subclass
Can
thank you
Can
gotcha will do
Anonymous
what is file descriptors in socket programming?
Anonymous
Anonymous
this is a connected question to what i asked a day before, i got a slight doubt, because im still getting into concepts, so is this ⤵️ correct* ?
. . .
unsigned int x = 10;
if (x > -1L)
printf("ok bye");
. . .
* in the comparison part, x is converted into long because -1L’s (long)'s rank is higher,
so our unsigned int, x gets converted into type: long, and retains 10 instead of the signed int, becoming (maxvalue - 1).
so condition evaluates to true.
is this analysis correct?
Anonymous
yes I understood what ure saying, I literally read ur last post like 10 times maybe more than that, and i even saved it in my docs.
so what i did after that,
i used the sizeof operator, and i found out my ints are 4B and longs are 8B, so based on that can i go to bed in peace thinking that my unsigned ints are being converted into longs.
is that right ?
and also, the above comparison evaluates to true in my machine, it does work.
Anonymous
😭 finallyyyyy
thanks alott once again
Renan
It seems it is an int. 👍
Anonymous
it was a silly mistake i made that time, im sorry.
i realised today, that it was a blunder, i did this ⤵️ to get my value,
unsigned int a = -1L;
and then, (%u, a). . .
im sorry, like i said im learning...
----------
i had totally forgotten it.
but today i used sizeof(int)
and sizeof(long) to check
Anonymous
Guys, I'm looking for the c++ IDE to quick compile, run and debug sometimes. Also which will imoprt bunch of code (template) on user defined command.. looking something flexible for CP. Till now I tried Codelite which is goode for compiling and debugging but it's to depend on project structure.. and other one is VS Code.. which is good but it's behaves weird sometimes.. please suggest me as per you experience..
Dima
Anonymous
Thank you @Neko_cpp
Lieutenant
Vim is a c/c++ ide? Can someone suggest how are we supposed to work with a big project with vim?
Lieutenant
Work on a*
Dima
Dima
Work on a*
you can edit messages in telegram lol
Lieutenant
Lieutenant
That's what I'm asking. How do you do that? Plugins? (Am I supposed to ask this here?)
Lieutenant
So, was this a DIY, or did you people follow a guide of some sort?
Lieutenant
Can you enlist a few of those plugins?
Lieutenant
Like, the quintessential ones
Lieutenant
This was a huge help. Thanks a lot!
Anonymous
Anyone who use codeblock
Lieutenant
Yes please!!
Lieutenant
thanks!!
professor
hey guys does anyone knows how adobe checks if its file signature for generation fuzzing? I know by magic numbers, but what else can I add to my generationg fuzzing poc since this is an example for pdf . how did they validate each block?
%PDF-
trailer
<< /Root<</Pages
<<>>
/OpenAction
<< /S /JavaScript /JS(
app.alert( 'Hello World!');
)
>>
>>
>>
%%EOF
professor
it isnt a fuzzing it is related to c++
professor
how do they valid flags beside header?
Dima
lol web hacking groups
Dima
sounds already funny
Dima
its called QA service/department
Dima
lol
Anonymous
Dima
it was in a sarcastic term
Ajay
hey!! add VScode in MacOS, it's light and wow.
Dima
it’s not an ide
Nameful
it's cross platform
Dima
It’s not an ide
Dima
and its awful
Dima
lol
Dima
I mean its good at usability
Dima
tl;dr
Nameful
Ajay
Dima
just use powered-ide lol