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
Every time when I run the code Compiler give the error of object already define and I don't know where I am making mistakes in the whole code. Even if I do th
I am cross-compiling a windows application from my Linux host machine and I am getting a linking error of multiple definitions between two files in the std! /us
What am I missing? Lambda declaration error. Marked in comment. void solve() { int charCount, time; cin>> charCount >> time; // Generat