The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
1k views

const vs. readonly for a singleton

I have a singleton that anchors together some different data structures. Part of what I expose through that singleton are some lists and other objects, which represent the necessary keys or columns ...
-3
votes
0answers
28 views

Restart Direct Sound device chrashes the application [closed]

I have run into an obstacle while trying to restart a direct sound device on windows 7. What I'm doing is clasical stuff: Create the interface ...
9
votes
9answers
4k views

Is anyone doing “real” TDD with Visual-C++, and if yes, how do they do it?

Test Driven Development implies writing the test before the code and following a certain cycle: Write Test Check Test (run) Write Production Code Check Test (run) Clean up Production Code Check test ...
-1
votes
1answer
206 views

Is using non-standard single-line comments fine in C? [closed]

I noticed Visual C++ 2010 (my current environment) and XCode both allow non-standard single-line comments in my C programs. Since these are both my target platforms, I assume it's fine to use it? VC++ ...
2
votes
3answers
344 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 ...
0
votes
1answer
272 views

How QT Framework handles Events Coming from OS?

When we call QApplication::exec() at the end of our main() function, the application enters Qt's event loop. Conceptually, the event loop looks like this: while (!exit_was_called) { while ...
2
votes
1answer
1k views

Is Visual C++ Redistributables backward compatible?

I am including two programs in my software. One of which requires VC10 and the other requires VC11. My question is that if program developed for VC10 will work on VC11 or I have to include both VC10 ...
-2
votes
1answer
3k views

Passing data between two windows forms using visual c++ 2010 [closed]

So, i have a simple forms application : i have a form 1 (Form1.h) and a second form (Form2.h). Form1 consists of a simple Add User button(which at this stage does nothing but opens the form2 and ...
0
votes
1answer
194 views

Text Classification Implementation

I've been trying to implement a text classification system. It needs to read a text file, and extract the words and the word frequency. So far, I've been planning to parse the words, put them in a ...
2
votes
1answer
187 views

How do I debug a cluster running Microsoft server 2003?

I'm sole developer of a complex critical software system, written in Visual C++ 2005. It's deployed on a classical Microsoft cluster scenario (active/passive), that has Windows Server 2003 R2. If a ...
1
vote
1answer
350 views

GDI low on memory

I am fresh to Visual C++. While moving forward in the book "Programming Windows with MFC", I came across GDI (Graphics Device Interface) and use of paint brush. The book says a brush cannot be created ...
2
votes
3answers
2k 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 ...
2
votes
4answers
863 views

If you use MFC how did find it best to learn the concepts?

I'm currently working with C++ MFC applications in Visual Studio 2008. I have spent most of my time up to this point working with Java Swing development which seems to be not quite as involved as ...
4
votes
2answers
311 views

Can a Code Review help in learning the code-flow and/or technology of a large code-base?

I'm new to VC++, and so am not very familiar with COM, ActiveX, IDL etc. When I mentioned this to my tech-lead, he assigned me the task of doing the code review of files he felt were important, in ...
18
votes
6answers
1k views

Aren't there compilers better at telling the programmer what's wrong in a code?

I have worked a little while with the Microsoft compiler from Visual C++ but I worked a long time with G++, and I remember often having bad times understanding what was wrong in my code with the ...
7
votes
3answers
694 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 ...