Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
comp . lang . c++ . moderated
This is a Usenet group - learn more
Find or start a Google Group about c++.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Active older topics
Related Groups
Discussion about C++ language, library, standards. (Moderated)
Low activity, Usenet
The object-oriented C++ language.
High activity, Usenet
The C programming language. (Moderated)
Low activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 25715  Older »
Description: Technical discussion of the C++ language. (Moderated)
 

Question on goto with try/catch 
  A project I am working on has large amounts of code written in this style: void MyClass::MyFunction() { try { // code here if(something bad happened) goto label; } catch(...) { // exception handling here. } label: // Run cleanup code - deallocate memory, etc.... more »
By TVisitor  - Nov 20 - 7 new of 7 messages    

Copy C'tor - doubt 
  I have a situation where I'm required to generate a copy of an object. I have simplified the class into a tiny one, but in reality its a huge class with multiple struct types as data member. Here is my simplified class: class AB { private: int a; public: AB(int ar): a(ar){}... more »
By AY  - Nov 19 - 12 new of 12 messages    

Boost release 1.41.0 available 
  Release 1.41.0 of the Boost C++ Libraries is now available. These open-source libraries work well with the C++ Standard Library, and are usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use. This release contains one new library and numerous bug fixes for... more »
By Beman Dawes  - Nov 18 - 1 new of 1 message    

type erasure problem, correctly up casting from void* 
  Hi, I have a system which handles arbitrary types, and to be able to invoke the correct functions I use type erasure with a void* argument. This works dandy most of the time, save for when the type inherits from multiple types, in which case it naturally fails spectacularly. So, somehow I must either change the interface to not use void*, in... more »
By Sebastian Karlsson  - Nov 18 - 2 new of 2 messages    

stack corruption in release 
  Hi all, i'm working on a big program, wich is an awful mix of C and C++. I'm on windows XP, with Visual Studio 2008 SP1. This program works fine in debug mode. But in release mode, there is a crash without any message, and the catch() block don't catch nothing. I located the function where the crash occurs. In this function, if i... more »
By r0d  - Nov 18 - 8 new of 8 messages    

Better way to call member function using function pointer? 
  Hi, Following is isolated code reproducing the issue I encountered while using function pointers: ////////////////////////////// //////////////// ...using namespace std; class Sample { public: Sample() { funPtrs["fun1"] = &Sample::fun1; funPtrs["fun2"] = &Sample::fun2; funPtrs["fun3"] = &Sample::fun3;... more »
By Ganesh Pagade  - Nov 17 - 6 new of 6 messages    

problem with default argument with template args 
  I cannot see what is wrong with the code below: template<class A, class B> class Arg { public: Arg() {}; ...template<class A, class B> class User { public: User(const char* username, Arg<A,B> arg = Arg<A,B>(), bool flag = false) { }; ...gcc fails to compile it. The error output is:... more »
By Andrew  - Nov 17 - 9 new of 9 messages    

if(T p = a()) + else = Bah! 
  Sometimes the C++ syntax really leaves me baffled: ///////////////////////// typedef int T; T a() { return 0; ...int main() { if(T p = a()) { p; // in scope, not null - compiles OK } else { p; // in scope - compiles OK } p; // out of scope - error: undeclared identifier // Note that an inverse condition, where p would... more »
By Martin B.  - Nov 17 - 14 new of 14 messages    

templates vs inheritance. 
  Hi Guys, I see that inheritance allows the paradigm of "programming to interface" with ease.A client can store a pointer to abstract base class and invoke operaitons on it without caring about the concrete derived class that pointer points to. Inheritance seems to allow programming to interface naturally because of dynamic binding.... more »
By srp113  - Nov 16 - 9 new of 9 messages    

C++ Tutorial Audio / Video 
  Hi folks, I'm wondering if there are any audio / video C++ Programming tutorial. Something that I can listen to while I travel may be in my ipod / in my CD drive of my Car. I would appreciate if any one could point me to a link where I can buy / download free. I prefer the lecture in English language.... more »
By AY  - Nov 15 - 2 new of 2 messages    

1 - 10 of 25715   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google