I have a couple of header files that call functions from DLL files, and I was wondering how I could provide the link for the header files and DLL files to commu
I'm trying to load images using SDL2-image, it works when I try to load a .png, but it fails to recognize a .jpg My imports: #include <SDL2/SDL.h> #undef
This is a C++ code for A star and this code every time when I run it, it will display route randomly. I want instead of the numbers are shown below in the pictu
trying to implement shadow. I checked my depth texture on a quad, and it seems correct, but the shadow is not displaying. I check my shadow vertex and fragment
I had created a program that counts the amount of vowels in a provided string. It counts the vowels correctly and repeats when the user provides a 'y' or 'Y'. H
I have a macro definition in MyClass.h, stated as such: #define _BufferSize_ 64 I placed the include directive for MyClass.h inside of main.cpp: #include "M
I had created a program that counts the amount of vowels in a provided string. It counts the vowels correctly and repeats when the user provides a 'y' or 'Y'. H
I am working with C++ code with ROS2. ROS2 has code style standards and one of the recommended linters is ament_cpplint, which is slightly different from cpplin
I'm profiling some binary on CENTOS 7.6 using VTUNE. I've yet to find the function (in vtune output) which is creating tens of thousands of symbolic file system
I'm writing classes for basic types, so that code is logically the same on multiple platforms and compilers (like int_least16_t for int). For fun! (I'm still a
I am implementing Azure DPS (device provisioning service) for my ESP32-based firmware. The bash script I use so far is as follows (where KEY is the primary key
I am trying to write this c++ program from hackerrank but in my output all I am getting is a blank space. The input string is in the form of HH:MM:SSpp where
I have an abstract class in my header file: template <class T> class IRepository { public: virtual bool SaveData(Result&
I have a program that adds multiple vectors in 1 vector. I saw a method of instead of .push_back to add elements and I used it, but I am wondering why this work
The problem occurred when I try to change my default pawn's UPROPERTY value has name "MoveSpeed" in during collision function. Otherwise, there is no problem wi
Using the latest C++ MSVC 2019 and 2022 the following code hangs while compiling #include <complex> // const int N = 10000; // about 3 secs // const int N
I need to save integers from string to vector. Definition of number: each of strings substrings which consists entirely of digits, with a space before the first
I'm trying to compile with a sysroot for Ubuntu 22.04 from a Ubuntu 20.04 image, and I'm having quite a bit of trouble, getting linker errors like these: /usr/b
English is not my first language.Please forgive my syntax mistake. I am new to mutiThread programming, and I am doing a mutiThread Lab about spinLock. A couple
I am trying to Mock an external library and test what APIs of the library are being called from my interfaces and I have come across a behavior (first time usin