Available C++ Libraries FAQ Available C++ Libraries FAQ URL: http://www.trumphurst.com/cpplibs/ This is a searchable list of libraries and utilities (both free and commercial) available to C++ programmers. If you know of a library which is not in the list, why not fill in the form at http://www.trumphurst.com/cpplibs/cppsub.php Main... 2 Aug 2010 01:41
Simple Qt Problem { Qt is not a commercial library, but there might be a better forum specifically targeted for Qt developers. -mod } Hi, here's my code, it's a simple widget with Qt. :) [main.cpp] _________ #include <QtGui/QApplication> #include "widget.h" int main(int argc, char *argv[]) { QApplication a(argc, a... 4 Aug 2010 14:41
Why error? Hi, I want to know which clause in the C++ standard guides the "Ambiguous base class conversion" related error that this code throws. Actually, there are two issues: 1. There are two 'A' subobjects in B3 and hence 'A' is an ambiguous base class 2. 'A' is both a public and a private indirect base class in 'B3'... 2 Aug 2010 01:41
where error for this static_assert I want to implement a Lightweight static_assert: template<bool> struct StaticCheckError; template<> struct StaticCheckError<true> { typedef int type; }; #ifndef STATIC_ASSERT #define STATIC_ASSERT(V) typedef StaticCheckError< bool(V) >::type StaticCheck #endif in general ,is work: void assert_tes... 2 Aug 2010 18:02
type casting issue Hi friends, I did find a strange issue while working on a live project, I have a frame work, static library and main application The code simply looks like this //Main Application void MyClass::MyClass() { //Call for getValue , getValue is the function of framework result = DFrameWorkInstance->getValue(&m... 1 Aug 2010 10:29
Compiling C++ Templates as opposed to Preprocessing them. Hi, Can readers of this forum advise on whether it would be fruitful to consider compiling C++ templates to IR instead of preprocessing them? Consider the following snippet: template<class T> void foo(const T &t) { ... 13 Aug 2010 10:17
basic concatenation question I'm working through some exercises trying to learn C++. I hung up on this one: This is OK: const std::string hello = "Hello"; const std::string = message = hello + ", world" + "!"; std::cout << message << std::endl; This is not OK: const std::string exclam = "!"; const std::string = message = "Hello" + ... 1 Aug 2010 10:29
value_type of an output iterator Hi, The value_type of an output iterator is defined to be void, and there seems to be a good reason for this. How should I modify the following code without having to make value_type a template parameter of make_pairs? Thanks, Shaun #include <iostream> #include <iterator> using namespace std; struct... 3 Aug 2010 18:02
CSCall++ 0.37 is released CSCall++ http://sourceforge.net/projects/cscall/ does not rely on C++ standard library but entirely wrap POSIX c functions. The most important, all functions are fully documented (this is essentially different from average C++ libraries). Questions and criticism are welcome. Features: .The error reporting me... 12 Aug 2010 00:38
why are missing return statements from non-void functions not a compilation error > One of them, C4715, is "not all control paths return a value". Sure enough, the function in question has a return type of int, and there are various embedded returns but no final return at the end, a control path that it can get to. Warning! I once tried to fix all the functions that where suppose to ret... 30 Jul 2010 08:34 |