I am trying to understand how to implement angle spread for a 3D particle system, to achieve an effect similar to a fountain. I can get it to work for a 2D syst
this code show me on xubuntu 21.04 form with size (400px width + 400px height) and with ONE button. How can I add to this code two buttons? #include <gtk/gtk
First question on Stack Overflow, hopefully I won't get flamed. If .Net mainly uses C#, and Spring mainly uses Java, what framework is most popular with C++ for
Let's that my C++ code has registered signal handler. According to signal-safety(7) all code called from within the handler, must use async-signal-safe function
I'm reading some materials about C++ and I just saw that array can be declared without a size (ex. int arr[], char x[][10]) and I'm wondering
I'm working on an OpenGL project and I'm using stb_truetype to render text in my game. The first font I tried (which was a .ttf file which had an OpenType forma
I'm making an application in c++ and Qt. I'd like to know if the settings below are enough to have vsync enabled automatically by Windows for qt application. ev
I'm writing a project using the Slate linear algebra library in C++, with MKL, MPI and OpenMP as dependencies. Usually, I run my program on a Linux based system
I have template <class T> class arrList: public linearList<T> { public: arrList() {} arrList(const arrList<T>& List); ~
Please does anyone have any idea why when I pass my 2 dim Numpy float64 (Double) array normally it prints row by row correctly, col1, col2, col3, col4 as I trav
I'm trying to run the expression _setmode only if I'm using Windows, and setlocale only if I'm using Linux, but I can't manage to make them work with a simple i
I am trying to build and install a basic program with CMake 3.17.2 for 64 bit windows with Visual Studio 16 2019. CMakeLists.txt: cmake_minimum_required(VERSION
In the code base I am working with we use the oracle instant client library as a third party dependency in Bazel as follows: cc_library( name = "instant_cli
class http_client { public: void init(const char url*); void download(); } int main() { http_client c1; { char url[] = "www.example.com
This will be a hard nut to crack. I don't even know if it's possible. My goal is to create a receive function that listens to multiple queues and pastes the obj
I note that many algorithms can be used with ranges allowing the use of members of custom types, rather than needing lambda functions. So, am curious whether st
I need to create a shared library using cmake, and I must call function run() in a library function. But the project which uses this library should provide the
I have a class used to work with disk data consisting of an enum class and vector<char> sized based on the enum. The enum is an invariant for each object
I am trying to run the example samples/sgemm.cpp from the CLBlast repo on Windows 10 with a Nvidia graphics card. I have obtained the cl.hpp from the link. The
I'm integrating orocos with ros, basically i created a component that read data from some input ports and write on output ports that create streams, because i w