visual-c++-2013 Questions
1
Solved
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", ...
Bartle asked 1/5, 2019 at 1:49
3
Solved
I am in the process of upgrading a Visual Studio 2010 project that targets the INtime RTOS. Code that performs casting operations fail to link. When investigating the "inline assembly" output files...
Hesperidin asked 24/10, 2013 at 2:56
4
Solved
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 s...
Spherule asked 28/7, 2017 at 17:40
2
Solved
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...
Eva asked 27/2, 2017 at 4:18
1
Solved
So,I am trying to port some old code to newer version of vs so I imported the sln of the project into my vs 2013 and I get this error and some others and I have gone through some of the other quest...
Catalog asked 12/3, 2015 at 9:0
1
Solved
I have a relatively simple CMakeLists.txt that contains the following line(s):
target_compile_features(myapp PRIVATE
cxx_generalized_initializers
cxx_lambdas
cxx_nullptr)
When I run cmake on ...
Lassa asked 23/1, 2015 at 22:9
2
Solved
Why does
struct wrapper
{
explicit wrapper(void *);
wrapper() = default;
int v;
};
int main() { return wrapper().v; } // You should run this in Debug mode
return 0xCCCCCCCC, whereas
struct ...
Sams asked 24/12, 2014 at 22:59
1
Solved
I am porting a function from inline assembly to MASM in Visual Studio 2013 and am having trouble getting a return value out of it.
Here is the C caller and the assembly function prototype:
exter...
Desberg asked 9/12, 2014 at 19:18
2
Solved
I'm trying to write a projection function that could transform a vector<T> into a vector<R>. Here is an example:
auto v = std::vector<int> {1, 2, 3, 4};
auto r1 = select(v, [](in...
Kuehn asked 15/10, 2014 at 13:12
1
Solved
I want to allow to modify behaviour of my class by specifing policy. This policy shoud be used as visitor for boost::variant. There is default policy that fits most cases good, but user may need ...
Concertize asked 25/6, 2014 at 12:56
1
Solved
In Visual Studio 2013, I wrote the following in an empty, brand-new command-line solution:
int main(int argc, char* argv[])
{
int xs[1];
for (auto x : xs)
do
;
while (0);
return 0;
}
When ...
Projection asked 6/3, 2014 at 1:1
1
© 2022 - 2024 — McMap. All rights reserved.