Skip to main content
1 vote
3 answers
2k views

In my solution, I have a Visual C++ project which uses Platform Toolset = Visual Studio 2013 (v120) which I am opening in Visual Studio 2019. If I edit the Project Properties > Configuration ...
sergiol's user avatar
  • 4,365
2 votes
3 answers
126 views

I am designing a "dereferencer" class, for fun. I wrote some structs and aliass : template <class _T> using deref_type = decltype(*std::declval<_T>()); template <class _T, ...
Moon's user avatar
  • 111
0 votes
0 answers
56 views

I get generated c-code that might have 64 bit operations and datatypes. I compile it for a 32 bit CPU so the compiler emulates the 64 bit types/operations using a series of 32 bit types/operations. ...
Alex's user avatar
  • 1
2 votes
1 answer
268 views

I need to preserve the exact binary representation of some doubles in a text file with other ascii values, so I am using "%a" as suggested in this question. fprintf (pFile, "Scale: %a, %a, %a\n", ...
Patrick Parker's user avatar
-1 votes
1 answer
694 views

I am using Multibyte Character Set on my project. The SetMarquee function is not allowed to access while the character set is MultiByte. The below function available in C:\Program Files (x86)\...
Vijay Kumbhani's user avatar
1 vote
2 answers
182 views

This is a 32-bit MFC application currently running on Windows 10. Compiled with Visual C++ 2013. std::cout << "sizeof(long long) = " << sizeof(long long) << std::endl; int rot{ 32 ...
Harald Hansen's user avatar
2 votes
1 answer
2k views

I have been using the CPP Rest SDK for my application which serves as both HTTP_Client and HTTP_Server as well. And now I want to support HTTPS in my application. The HTTP_Client will be running in ...
AgileMystery's user avatar
15 votes
4 answers
9k views

I've recently noticed that once I start building the Visual Studio solution I'm working with (~200 C++ projects), I get a very large number of cl.exe processes. I'm not surprised by the fact of ...
Vasiliy Galkin's user avatar
2 votes
0 answers
125 views

Using functors with parameters generally looks like that: // Definition: struct some_functor_with_params { int ref; explicit some_functor_with_params(int ref) : ref(ref) {} bool operator (...
Christophe Fuzier's user avatar
1 vote
0 answers
336 views

Could anyone help me find out what is wrong with in-class initialization of static constexpr member varaible like in the code below ? Using Visual Studio 2013 struct hg { public: static ...
anksh's user avatar
  • 35
0 votes
2 answers
34 views

I want to create a text file for first run carrying the password and use the code to check the entire string for the password entered previously. The current code returns true value for the 1st few ...
Abhik Ray's user avatar
2 votes
0 answers
2k views

I had been compiling on my Visual Studio making small changes from the morning and it was running fine. I made a small change and I started getting this error, error MSB6006: "cmd.exe" exited with ...
s_s's user avatar
  • 121
9 votes
2 answers
338 views

Brace-or-equal-initializers in an anonymous struct within a struct doesn't do their work on output produced by VS2013. There's the code: #include <iostream> #include <cstdint> struct S { ...
user avatar
0 votes
1 answer
929 views

I'm installing Visual C++ Redistributable 2013 as a prerequisite (if its not installed)through my installer. But sometimes already installed VC++ is corrupted then my installer does not work because I'...
Ajit Medhekar's user avatar
1 vote
1 answer
1k views

Visual Studio has a simple method "File::ReadAllBytes" that will read a file and return a byte array, but I don't know how to use it. I tried the following and they all don't work. Byte arr[] = File::...
user avatar

15 30 50 per page
1
2 3 4 5