CLion gives the following hover message accompanied with a "no" sign instead of a breakpoint red dot: This breakpoint will currently not hit. No executable cod
I install the xtensor by conda conda install -c conda-forge xtensor and I find the position where the xtensor is installed, path_xtensor="/amax/home/user/minic
I want to add python functions in C++ code. The project is written using qt. In Mask.pro I have: ... INCLUDEPATH += "D:/workplace/Python/include" LIBS += -L"D:/
I was trying to assign the value of a geometry point (it has x,y,z. All of them are float64. If you want to check it: http://docs.ros.org/en/noetic/api/geometry
Consider the following code snippet where we we're trying to deduce the template parameter to the function foobar(): struct Bar { static constexpr auto size =
Is the following code legal according to the standard? #include <new> int main() { const int x = 3; new ((void *)&x) int { 1
I need to print all words from the text file which includes substring, how can I add to the code? The code which I have is printed below #include <iostream&g
In my function, a memory pointer and its size are passed as parameters: int myFun(uintptr_t* mem_ptr, int mem_size) { // Code here } Is there any way to te
I want to be able to store an instance of a different classes in a map so that I can add, delete and access the instances outside of the entity class. This is w
I want to print the time center aligned. But I do not know how to mix arguments with fmt. std::cout << fmt::format("|{0: ^80}|\n", ""); std::cout <<
I'm currently doing practicing on the ->* operator with the intent to write a smart pointer. I've done the basics on how it works. For this example I want to
Is there any way to detect via CMake whether an FPGA accelerator is available or not ? I'd like to do something like if (FPGA_AVAILABLE or FPGA_EMULATOR_ON)
At my course we are getting tasks that always start with filling a random matrix size nxm with random numbers. I want to create(a library?, a class?) some struc
I'm trying to build basic GTK+ code(one of its tutorials) with CMake, but I keep getting 'undefined reference to *' where * is any GTK function that is in the c
Am trying to learn SDL2 using Xcode Version 13.3.1 on macOS Monterey 12.3.1 Followed these steps: Downloaded/ran the dmg file and moved the extracted SDL2.frame
good I am developing a C ++ program using CodeBlocks that connects to a MySQL database with XAMPP using the libmysql.a linker but I can't get it to work, this i
I am writing a component which has to monitor changes in CLIPBOARD for a X11 window. auto display = XOpenDisplay(NULL); auto screen = DefaultScreen(mdisplay); a
I'm trying to implement ImGui in my opengl app, but, for some reasons, the flag: ImGuiConfigFlags_DockingEnable is not found. I even tried to go in the files an
I was trying to change the access time of a file, but i didn't get the result i wanted. this is what i tried: struct tm time; time.tm_sec=56; time.tm_mi
I'm trying to use visual studio performance profiler for the first time and I'm interested in a specific function of mine which is successfully detected by the