A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Static initialization of thread_local variable with heap-allocating constructor crashes program
I noticed that the following static variable in my C++ code caused my program to stop working (crash / exception at startup): static thread_local std::unordered_map<std::string, int> myMap; Debugging the issue, an exception was raised while the…
Developer technologies | C++
Rich edit control that displays emojis with color.
Please only answer if you are in Microsoft since part of this question regards right to distribute a DLL. This regards a C/C++program I wrote. I created a rich edit control using CreateWindowEx and subclassed the edit control. I used msftedit.dll. I…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Latest Supported Visual C++ redistributable download appears to be the wrong version
I just download the latest supported x64 VC++ redistributable from Latest supported redistributable version and upon examining the properties it appears that instead of the redistributable for 2017-2026 the downloaded file was for 2015-2022. Same issue…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ Vectors
In C++ why am I getting an error on this statement? CHMID1[I] = PT1[I] + (CHORD1 * VEC1[I]) / 2.; CHMID1[I] a float vector PT1[I] a float vector CHORD1 a float variable VEC1[I] a float vector system says = not a valid operator???
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
equal operator C++
have a C++ program, trying to assign a vector variable to a complex equation: chm[i] = vec1[i] + (float cmid * vec2[i])/2.; i from 1 to 3 compiler generates an error that says "cannot find = operator to assign value define…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ errors
Using Visual Studio, C++, is there a way to turn off the error reporting that is generated by "co-pilot", very irritating as every statement that is issued automatically generates suggested error or fixes while entering! "clutters up"…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Questions regarding Windows driver signing
Hello Microsoft Support, We are in the early planning phase for a new Windows driver and want to make sure we understand the official release process for Windows Endpoints and Servers. Could you please clarify a few basic points for us? Certificates:…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ Vectors
This is maddening, went to great lengths to make sure that the statements on either side of the = operator of the same type, still get a compiler error I = 0; do { float CH1 = PT1[I]; float CH2 = PT2[I]; float CH3 = PT3[I]; float…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Trying to download Microsoft visual C++ and not having Additional runtime
I have tried uninstalling it and everything that people say to do and every time I go to install Microsoft Visual C++ 2022 64x it says that the feature you are are trying to use is unavailable and its trying to find a folder with…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ Cross Product Function
Have the function below in Visual Studio, C++. The function does a cross product for a vector VEC1,Vec2,Vec3. When I call the function as "crossproductVector(Vec1,Vec2,Vec3)" the value returned for Vec3 has zero components even though the…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ Function Return With Reference
Have a function that I call with the variable references below. Was told that when I call, can change the values back to the original call if the variables are "reference" &A, &B. However, the system does not allow one to do, I.E. as…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++ Argument Return
Have a function in C++ with three input arguments. When I call the function with three arguments, I return the 3 argument values in the function but it does not return into the original arguments used in the function call sequence. Example: float…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
How to dock a CDockablePane to another floating CDockablePane in MFC?
Hi, I'm working on an MFC application using the MFC App Wizard (VS-generated template with docking panes), and I'm trying to float the Class View pane and then dock the File View pane into that floating Class View pane. Here's what I currently have…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++ application
Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish one of the coding tasks, I have come across this issue - Error: -1073741813, If it helps - the…
Developer technologies | Visual Studio | Debugging
A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
how to download c++ 2019
how to download c++ 2019 in this page;how to download c++ 2019 in this page;how to download c++ 2019 in this page
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Error with compiler
PS C:\Users\Prabh\OneDrive\Documents\Prabhjoat University\programming\Microsoft C++ Course> cd "c:\Users\Prabh\OneDrive\Documents\Prabhjoat University\programming\Microsoft C++ Course" ; if ($?) { g++ hello_world.cpp -o hello_world } ; if…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Screen recording from a Windows service which is running under local system account
We are building a Windows monitoring/recording solution and want to validate the service/session architecture for screen capture. Design: A Windows service runs in Session 0 and handles control/orchestration. For each recording session, the service…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Totally and Absolutely Confused
Created a C++ project using Visual Studio 2026. Opened the file, made changes, saved all, built a project, executed, worked fine. closed Visual Studio, opened again, opened the project, changes that I made still there. Closed Visual Studio, turned off…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Visual Studio Save
Have A C++ program in Visual Studio, making changes and when finish, issue a "save all" command which should save all of the changes, I would think. I then issue a "re build" and issue the "save all" command again. However,…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
How to use CoInitializeSecurity by using pointer to AppID in pSecDesc parameter?
One of the microsoft recommendation is not to use nullptr for first parameter of CoInitializeSecurity. So how can I use CoInitializeSecurity by using pointer to AppID in first parameter (pSecDesc)?. Appreciate your help in this.
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.