On Fri, Sep 26, 2008 at 01:00:49PM +0530, manish wrote:
> Hi
> Can any body says that what is the region of this error.
> Error 2 error C2512: 'mysqlpp::Query' : no appropriate default constructor available
>
>
> How it will remove from program
Hard to tell from just a compiler error, but...
The Query object is not meant to be standalone, and is often constructed
from a result from a connection object.
See the following page in the manual for an example:
http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#simple
- Chris