I live in China. Maybe this problem is not unique to people here, but regardless, Many junior programmers do not know English (Most documentation have Chinese translations). All senior programmers do know English. So, an awkward situation arose. The senior programmers name things in English (e.g. foo, var, myClass, &c), whilst the junior programmers name…
Category: Questions and Answers
Question and answers.
I noticed this morning that I had left a watering can outside and it was full of ice. I suppose the ball is not completely necessary as I could be asking about the gravitational potential energy of some of the water itself. Since the water expands as it freezes into ice, and its shape is…
Hi! I have a templated class: template <typename T> class Example etc etc How can I ensure T derives from a certain class? I can't use C++20 and I can't just use the base class because it would be inefficient for the application I'm building…any kind of help would be great submitted by …
Hello guys I wanted to ask How do I know the libraries that perform a certain performance, for example, I want libraries about networks, how can I know these libraries, or how professionals They are arriving to the libraries they want faster and in detail Sorry for the question, but I'm still making my way…
submitted by /u/Liran_21 [link] [comments] * This article was originally published here
Hi folks, (Please remove this if this is the wrong sub for this question) I’m trying to start a career in CPP and parallel programming – I’ve been a Java/Python/JS web developer mostly for the past 3-4 years. Now I’ve got into C++ and parallel programming (OpenMP, MPI, SYCL ..etc) recently with a degree I…
I’m totally lost on this. I realize I probably need to loop through both, but I’m not really sure how to implement this. Could someone show me an example? I tried to google it. submitted by /u/Quirky-End7730 [link] [comments] * This article was originally published here
I have a class Book with some the private attributes 'title' and 'author', which are vectors dynamically allocated into the heap by one constructor (There is also the default constructor Book() which only prints "book created") and deleted by the destructor; I have created a subclass Dictionary with only one constructor that calls the default…
I guess it's obvious what I'm referring to, i.e. current events over Montana. https://en.wikipedia.org/wiki/2023_China_balloon_incident The thing is up in the stratosphere, higher than most planes (and certainly rotor/propeller aircraft) can reach. I haven't found any discussion of this question online, and I'm sorry if this isn't strictly a 'science' question but there is an "Engineering"…
I've always been taught that hotter air = less dense air = lower pressure, but looking at the baretric equation (P = P_0 e-mgh/kT), it looks like higher temps lead to higher pressures….. what am I missing? (To be clear, I'm trying to understand two adjacent outdoor regions with different temperatures – which will have…