On 8/17/05, Warren Young <mysqlpp@stripped> wrote:
> ZeeGeek wrote:
> >
> > mysqlpp::Connection con(false);
> > con.connect("mysql_cpp_data", "localhost", "test", "test");
> > mysqlpp::Query query = con.query();
> > query << "select * from stock";
> > mysqlpp::ResUse res = query.use();
> > mysqlpp::Row row;
> > while (row = res.fetch_row()) {
> > std::cout << row["item"] << std::endl;
> > }
>
> I replaced the code in usequery's try block with your code, and it
> produced just what I expected it to. Try that, and rebuild the examples
> within the MySQL++ tree.
it worked in usequery, then I updated the current mysql++-1.7.40 to
mysql++-2.0.0 and recompiled my program, it worked! thank you for your
patience, Warren.
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
>
>
--
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility