Have created project on c++ in Visual Studio. Have added resources.rc + .ico file, that have next positions: 32 bits: 64x64, 48x48, 40x40, 32x32,24x24, 20x20, 1
In the onkeydown() handler I am getting 219 as the keycode for '['; however, the actual character value of '[' is 91. Is there any way to map these two?
I'm only familiar with using stack and queue each for different arrays. However,if there is an array A of size 20 that stores integers, how am I going to divide
In a Windows Forms application, I want to create a UserControl that reacts to mouse events. But in some cases, I want the event to be passed to the parent that
This question is somewhat two fold, one being more general than the other. The specific question is; does MSVC have equivalent warnings to -Wredundant-move? Mor
I am building a project that includes webrtc with CMake, Visual Studio 2019 and ClangCl. This is the command I run to configure : cmake -G "Visual Studio 16 20
I'm new to C++ CLR development. I'm trying to develop a GUI app but when i include vector/regex/curlpp i get an error while compiling LNK 2005. Anyone have any
Before the assignment operation, the member variable u works fine, see figure 1 After the assignment operation, the data of the member variable u is tampered, s
From what I understand, C++ regex symbol ^ should match only the beginning of input and $ should match only the end of input. This can be changed to match begin
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
This is the header file with class Rectangle that inherits from class Shape: class Rectangle: public Shape { private: double width; double height;
I have Visual Studio community 2017. coming from eclipse it was just enough to copy file to project directory and hit refresh then files were appearing in proje
For example, there is three object files a.obj b.obj c.obj just compiled out with cl, and it is desired to combine them into one combined.obj. A comment of an S
It is a very simple program and I have just started learning c++ but the for loop is not working in this program. can anyone tell me why the for loop in this c+
Some of my Chinese software users noticed a strange C++ exception being thrown when my C++ code for Windows tried to list all running processes: 在ࣩ
I am trying to build a project that contains webrtc. However compilation fails with this error : vendor\webrtc\src\base/compiler_specific.h(11,1): fatal error C
I have a C++ project in vs 2022 that giving me a lnk1104 error. I have made sure that "debug information format " is set to Z1, but the debug.obj or the .pdb fi
WTL applications are quite small already. However, using VS 2005 a statically linked application with WTL 9.10 weighs in at 136 kB (139,264 Bytes) for the Win32
Build is successful, but the test case #2 keep failing. I don't know what to change or fix. The test program says that Test Case #2 operator <=() FAILED and
I have written the code to read the string values and mapped as key and value. Now I am facing issue in printing the values, if we have given key value as input