Parikshit
Sorry
V01D
Read rules b4 you post ;)
Parikshit
Yes
V01D
/report @KMichaelD
V01D
Roxifλsz 🇱🇹
/warn @KMichaelD
Wojak
Is there anyone else who's participating in the Hackerrank HackFest 2020?
V01D
No
Wojak
Ok boomer
Roxifλsz 🇱🇹
Wojak
*program
Wojak
The RBG queries with only 12% submission, luckily I got through into the 12% but wanted help to decrease complexity to linear
Mar!o
Yeah they have real name SIMD in this case is a custom feature which allows users to disable any SIMD for my VM
Nils
Any idea what's wrong here: void* callstack[10]; backtrace_symbols_fd(callstack, backtrace(callstack, sizeof(*callstack)), STDERR_FILENO); ?
Nils
It just prints nothing
Nils
@lightness_races_in_orbit I figured out backtrace() returns 0. But what's the reason?
Vlad
Any idea what's wrong here: void* callstack[10]; backtrace_symbols_fd(callstack, backtrace(callstack, sizeof(*callstack)), STDERR_FILENO); ?
Function: int backtrace (void **buffer, int size) Preliminary: | MT-Safe | AS-Unsafe init heap dlopen plugin lock | AC-Unsafe init mem lock fd | See POSIX Safety Concepts. The backtrace function obtains a backtrace for the current thread, as a list of pointers, and places the information into buffer. The argument SIZE should be the NUMBER OF VOID* ELEMENTS that will fit into buffer. The return value is the actual number of entries of buffer that are obtained, and is at most size. The pointers placed in buffer are actually return addresses obtained by inspecting the stack, one return address per stack frame. Note that certain compiler optimizations may interfere with obtaining a valid backtrace. Function inlining causes the inlined function to not have a stack frame; tail call optimization replaces one stack frame with another; frame pointer elimination will stop backtrace from interpreting the stack contents correctly.
Anonymous
/report
Ибраги́м
/ban 💰💰💰💰💰💰💰
ijaj ahamed
Guys anyone knows group for pythons
A
https://youtu.be/0z6x8MLFYFQ
A
I've started a course on competitive programming and STL. I'm currently working in BNY Mellon and I am an ex ICPC Regionalist. Do check out my channel. :)
A
Advertising? I am trying to spread knowledge for free!
Liam
Well, it seems to be a C++ video course, not considering as advertisement.
Liam
Oh, sorry than
feel free~
Parikshit
In cpp, constructor should be initialized after colon, like : m1(10) But same thing can be done other body of constructor, but not prefered, why?
Mohammad Shahidul
Thank you Rose! I have read the rules and I agree with the group rules. This is Shahidul, Vice President, Bengal Group, Bangladesh.
Anonymous
Hi all, I’m new in learning c/c++ and I’d like to know if a dll (dynamic Library link) can be written in c or c++?
Naol
yes you can, there is a book about it on tutorialspoint, it is written with winapi.
Anonymous
Thanks Naol!
Anonymous
Hey guys, I downloaded this program but I don't know what should I choose here, anybody can help me?
M.Khorram
Hey guys, I downloaded this program but I don't know what should I choose here, anybody can help me?
It's not important as it is about association of c/c++ files. just let it be default (option: No, leave everything as it is)
Anonymous
Thank you
Anonymous
M.Khorram
code blocks is outdated
yea you are right if you mean it has limited features codeblocks is lightweight in comparison to many other IDEs. Also, there are newer versions of codeblocks (the last one is 2020). I think thats why people go for that.
Naol
he is jocking, there is 2020 release
M.Khorram
he is jocking, there is 2020 release
the 2020 version of codeblocks is not available on Mac The last codeblocks available for Mac is 13.12
Roxifλsz 🇱🇹
So you're trying to install a macOS build of codeblocks onto windows
Roxifλsz 🇱🇹
Have you ever used a computer before?
V01D
Lmao
Roxifλsz 🇱🇹
Also I think that's an ancient version you have downloaded
Talula
The OS are different, apps for Mac don't work on Windows.
Roxifλsz 🇱🇹
Roxifλsz 🇱🇹
Dima
Talula
Which app is better?
Depends on configuration of your computer, when it's hot I use Mac because it doesn't heat much, when it's cooler I use PC because it's faster... so choice is yours.
Anonymous
can anyone please help me with question: " A state is divided into R*C cities.The government has launched an initiative to find the cities which are dominated by coders. Each city may or may not have coders residing in it. If the city is dominated by coders, it is marked with 1 else it is marked with 0. Two cities are termed as connected cities if they both are dominated by coders and can be reached by moving vertically, horizontally, or diagonally."
Roxifλsz 🇱🇹
So what should I download and how?
Look, if you're actually being serious right now, I do not recommend to start programming. You should first get better computer usage skills
Rizni
Hi I'm a software engineering student I finished c++ console concepts Now i liked to move on creating windows apps using c++ in visual studio Please give me right source to study it Unfortunately I didn't fine good playlist tutorial for windows forms Thank you
Mar!o
Windows Forms is deprecated
Matteo
/get cbook
Harsha [M]
!report
Harsha [M]
bot dead?
Anonymous
Hey guys, I need some help To write a file, I often do textEditor ("nameofthe file", ios::out) But I wanted to replace the "nameofthefile" with a name that will be selected by the user
Anonymous
But when I do, it says that it can't initialize it because it doesn't exist. Do someone now how I can do it? Edit: the code is here https://gitlab.com/solfus/pdatabase/-/blob/master/main.cpp
V01D
/get cbook
V01D
Harsha [M]
Nope.
Report not worked previously
V01D
!get cbook
Harsha [M]
Anonymous
/get ide
vinícius*
/get ide
Get Qt Creator and be happy
Anonymous
Get Qt Creator and be happy
I was just interested in knowing what were the suggested IDE.
vinícius*
sure ;)