Itsunknown4u
3 6 1
Anonymous
and left to right in case of cout
Anonymous
3 6 1
Yes, it should be 3 6 1 in case of printf and 2 6 2 in case of cout
Anonymous
Is the above statement right?
Itsunknown4u
I dont know abt cout
Shubham
I guess it's static class variable. You wonder why there it's divided into two parts? or what exactly bothers you?
Why it is divided? What is the significane of it? How it is different from normal object?
Beer WRLD
Is the above statement right?
Cout executes from left to right
Beer WRLD
Always
Anonymous
Hi guys what does memset function does?
Anonymous
can i use to fill a array with same values
klimi
Hi guys what does memset function does?
It does what its supposed to do... And thats written in doc
Anonymous
can it be used as memset(array_name,1000,sizeof(array_name);
Anonymous
it doesn't fill but sets the value byte by byte
Anonymous
so , if you fill an int array with can it be used as memset(array_name,4,sizeof(array_name);
Anonymous
then since array_name is of type int
Anonymous
and size of int is 4 bytes
Anonymous
then it will fill each byte of those 4 bytes with 00000100
Anonymous
and hence as per my interpretation, the final value in a single location should be 00000100 00000100 00000100 00000100
Anonymous
4 times 00000100
Anonymous
Somebody check it out on Stackoverflow or somewhere else
Anonymous
I'm still not sure of what I texted here
Pavel
Why it is divided? What is the significane of it? How it is different from normal object?
It's a long story. To tell it short, you can have only one definition of object (google ODR), so you have it in *.cpp file. But as it's part of your class, you need it to be in the declaration of that class, so you have it in the header. Actually, since C++17 you can have the definition in the class declaration with inline keyword, that makes guarantee that it will have only one definition (if you don't brake it with macros, then it's UB). https://en.cppreference.com/w/cpp/language/static
Shubham
Got pretty clear about it. The link is also helpful and give clear idea👍🏻👍🏻Thanks for the help @gameraccoon
Marián
Hey guyss
Marián
could you help me with compiling one C repo?
Marián
this one, there is a guide ho build it -> cd src -> make
Marián
but it says that ldap.h is missing, any ideas why?
Anonymous
We would also need some more info about what you are trying to compile and the exact error you are getting.
Mat
https://github.com/david0/ldapbrowse
Mat
dependencies ncurses libldap getopt
Mat
Read the entire README
Anonymous
No.
Anonymous
Are you sure about libldap?
Mat
installed
Probably libldap will give the file you need
Mat
Try to reboot
Marián
hmmm wait
Marián
maybe i forgot this one since its new openbsd installation
Marián
oh i see
Marián
libldap isnt in default pkg repo in openbsd
Marián
thats probably it guys
Marián
thank you
777
Hello there
777
Is there anyone thats interested in reverse engineering
777
Exactly how can I learn to use Ollydbg
777
I know c cpp python
Mat
Exactly how can I learn to use Ollydbg
Idk. I was just trying to understand what you wanted 🤷‍♂
klimi
Idk. I was just trying to understand what you wanted 🤷‍♂
He's from Turkey and his English isn't best, he's trying tho
Mat
🙏🙏
No private messages
777
No private messages
I was wondering if you knew how to use ollysbg.
Mat
#ot
Anonymous
/start@MissRose_bot
klimi
#ot
Is it?
Anonymous
okey thank you
Pavel
How do you test your optimizations guys? I mean how do you measure the impact of an optimization and see what actually is changed after it? I was using Valgrind and run 10-20 frames of my game before and after an optimization, but it gives a bit different results each time, also it's hard to compare the results. Now I'm making synthetic tests that will run some specific logic for specific amount of frames with fixed frame time, so it should be almost the same. But I still will compare two profiler reports by eyes, so I think it's not going to be super effective. Do you know better ways to compare performance? What way do you use?
Rostin
Google benchmark ?
Jackson
Hello everyone
Jackson
Ok thank you
professor
what is the best way to declare this function BOO::crawlDirectories(TCHAR* szDir) I want to call like this crawlDirectories(path,array_of_exteions)
Jackson
What is the best language to program a drone including machine learning or deep learning?
Qwhesi
I want to install Linux on my PC. Where can I get the software to download
void
What is the best language to program a drone including machine learning or deep learning?
Python if you want to do it quickly C++ if you want to spend your life
void
I want to install Linux on my PC. Where can I get the software to download
Just download any distro and write it on flash drive/DVD Usually distro is .iso file * btw it isn't Linux chat *
void
Ok ok thank you
I think you should choose language that you like and want to learn :D There is no “the best way” in programming, there is only practice, a lot of practice