In what cases a "name" has to be prefixed with "typename"? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Where and why do I have to put "template" and "typename" on dependent names?[详细]2023-04-01 03:15 分类：问答
Forcing template function instantiation in class
I have a function that is declared like: template<typename T> void MyFunction(); And a class: template<typename T>[详细]2023-04-01 03:12 分类：问答
Using HTML Tidy in Visual C++ 2010 Windows Forms project
I am using VC++ 2010 Express and I am attempting to include HTML Tidy to perform cleanup on HTML code strings. What I want to do is process the HTML as a string (NOT from a file) and save the processe[详细]2023-04-01 03:11 分类：问答
WaitCommEvent compatible with pipes?
I am working with legacy C++/MFC/Win32 code.The project multiplexes various serial protocols over separate physical serial ports, one per client system, to a common front end data repository.[详细]2023-04-01 03:03 分类：问答
Does dynamic_cast really work for multiple inheritance?
I wanted to see if it\'s possible to create \"interfaces\", inherit them, and then check at runtime if any random class implements that interface. This is what I have:[详细]2023-04-01 02:59 分类：问答
Getting the nth line of a text file in C++
I need to read the nth line of a text file (e.g. textfile.findline(0) would find the first line of the text file loaded with ifstream textfile). Is this possible?[详细]2023-04-01 02:54 分类：问答
Array contents equality in C++
Is there a way to get the equality operators to work for comparing arrays of the same type? For example:[详细]2023-04-01 02:53 分类：问答
Can a hit and trial matrix take place in a recursive function without creating multiple copies?
I have a matrix which needs to be changed by hit and trial method, evaluated and the values need to be re-assigned if it does 开发者_开发百科not meet the requirements. I am doing this in a recursive f[详细]2023-04-01 02:48 分类：问答
MingW reporting missing .dll file in Netbeans + Qt
I installed Netbeans 7.0.1 and the Qt SDK and set it up as per the instructions on here. The code builds nicely but w开发者_运维知识库hen I press run I get the following error:[详细]2023-04-01 02:47 分类：问答
Use of setjmp and longjmp in C when linking to C++ libraries
I would like to use setjmp and longjmp in a C program that links to a library that is implemented in C++ (but has a C API).[详细]2023-04-01 02:40 分类：问答