All Questions
Tagged with visual-c++ c++
7 questions
1
vote
1
answer
1k
views
In C++, how is signed integer stored?
I'm aware that there are a few accepted implementations of how signed integers are stored, specifically negative values. There's two's complement, one's complement, and sign/magnitude. For Visual C++, ...
2
votes
3
answers
3k
views
How to evaluate CLR / C++ vs native C++?
How should I go about evaluating the performance or execution time of C++ with CLR versus native C++?
My personal bias is that I believe C++ with CLR to be slower since it has to run on a virtual ...
1
vote
2
answers
226
views
Design a tree-like hierarchy of ownership classes
I have a class, call it App, that will instantiate and own a set of classes of type Agents, each of which will instantiate and own a set of Listeners. Ownership is unique and non-transferable, hence ...
0
votes
1
answer
931
views
Linking obj files directly. Negative effects?
We have legacy code that has unit tests (wohooo :D [is it then still legacy?:D]).
The production code is an exe file, another one is a DLL but with only one single entry point exported (for some ...
5
votes
4
answers
4k
views
Is a compiler warning for 64bit to 32bit `size_t` truncation actually useful?
I have been looking at VC++'s C4267:
Compiler Warning (level 3) C4267
'var' : conversion from 'size_t' to 'type', possible loss of data
The compiler detected a conversion from size_t to a ...
2
votes
3
answers
4k
views
Can I make a good career with VC++ programming? [closed]
I'm addicted to VC++ since 2008, and I begin to work for my current company from 2011 when I graduated in Mathematics. Now I still love VC++, it is a wonderful programming language.
I'm a little ...
7
votes
3
answers
1k
views
Microsoft Terminology: .NET C++ vs. traditional C++
I've recently been working with a team that's using both .NET C++ and pre-.NET C++.
I fully understand the technical differences between the two technologies. However, I sometimes feel like I'm ...