Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] libpq++ ---- PgDatabase instance problem

From: "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: inkle99(at)yahoo(dot)com (inkle c)
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] libpq++ ---- PgDatabase instance problem
Date: 1999-08-20 11:42:06
Message-ID: E11Hn3e-0000kx-00@quartz.newn.cam.ac.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
inkle c wrote:
> 
> Hi,
> 
> I am writing a small class which has a PgDatabase
> instance as its private member, and in the constructor,
> I init it to be NULL (i.e.,
> myclass::myclass():PgDatabaseInstanceMember(NULL) ), this causes a core
> dump, what's wrong with that?

I'm not too sure what you want, but how about

myclass::myclass():PgDatabase()

?

Cheers,

Patrick

In response to

pgsql-interfaces by date

Next:From: Manjinder SinghDate: 1999-08-20 12:28:53
Subject: pgaccess on windows '98
Previous:From: rjdDate: 1999-08-20 07:06:14
Subject: Re: [INTERFACES] Survey

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group