I'd like to write a c++ program(windows console application) to print receipts from a server (via websocket) to a locally connected(via rs-232) receipt printer(
Is an iterator in C++ a pointer? The reason I ask is that it seems like nobody completely understands what an iterator is. It's just a "thing" or a "value" they
Why is HANDLE event object(synchronization object which is created by CreateEvent function) in winapi assumed to be valid in thread function? From multithreadin
What is the default frame size of opencv image streaming frame ? If I set Width and height of frame more than default frame size what happens? import cv2 cam
I am using libusb in my android application. When I am trying to build libusb native library then I get below error message, *.so files generated. Error:Exe
I'm making a program in C/C++ which must run hidden using this code: #define _WIN32_WINNT 0x0500 #include <windows.h> int main(){ HWND hWnd = GetCons
Is it possible to tell Clang-Format to ignore comments for line break operations? The idea is to follow the style "the code is well formatted, even if comments
Idk how to make it automaticly - the only option is to specify where the file is - not to generate it, but I don't wan't to write it by my own, because there ar
I know that there're many questions regarding this aspect: QML module not found (QtCharts) How to include the QtCharts library in Qt Creator 4.2.0 (Community) H
I would like to learn some inline assembly programming, but my first cod snippet does not work. I have a string and I would like to assign the value of the stri
When I go to debug my C++ project in Visual Studio, up pops a little warning dialogue box that tells me: A copy of datum.h was found in c:/users/brad/desktop/s
I'm trying to use object detection models from Tensorflow and need to get pycocotools installed. I'm doing this from a python (3) virtual environment on a Windo
I have C++ code which uses FFTW 3.3.4. Ubuntu 16.04, cmake version 3.7.2 $ locate *fftw*.so /usr/lib/libsfftw.so /usr/lib/libsfftw_mpi.so /usr/lib/libsfftw_th
I am trying to accomplish the following task: List the students in alphabetic order, sorted by last name. Do not change the given case of the names. Do not ch
I'm trying to use Intel c++ compiler for my Xcode project. After installation, following the tutorial from Intel, there's an Intel c++ compile
I have a base class template<typename T> class Base {}; and a few derived classes: class DerivedInt : public Base<int> {} class DerivedDummy :
I am trying to define a union struct with some struct and primitive members overlapping in memory with a simple array. This works perfectly in Clang and MSVC, b
Maybe I am wrong but it seems to me that the semaphore from this link is missing a reset function. Is there another way to reset its counter? I found this imp
I have been following a tutorial at cplusplus.com/doc/tutorial. Near the end of the Functions page, it discussed prototyping a function. Later on, I read about
I am facing trouble properly linking a trivial Windows executable to a trivial DLL with MinGW-w64 (based on GCC 11.3.0 from MSYS2) when class templates are invo