🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #252

I have follow this to try C++ if mysql, where is sqlplus.hh and I am using mysql 3.23.41

#252
From: Laplace
Date: Thu, 02 Jan 2003 09:46
26 lines
2426 bytes
http://www.freebsddiary.org/mysql-capi.php

I have tried this (retrieve ) C++ and correct its value and compile it get
many errors:

where is sqlplus.hh????

# g++ retreive.cpp
retreive.cpp: In function `int main ()':
retreive.cpp:26: `Connection' undeclared (first use this function)
retreive.cpp:26: (Each undeclared identifier is reported only once for
each function it appears in.)
retreive.cpp:26: parse error before `('
retreive.cpp:28: `connection' undeclared (first use this function)
retreive.cpp:30: `Query' undeclared (first use this function)
retreive.cpp:30: parse error before `='
retreive.cpp:32: `query' undeclared (first use this function)
retreive.cpp:37: `Result' undeclared (first use this function)
retreive.cpp:37: parse error before `='
retreive.cpp:40: `Row' undeclared (first use this function)
retreive.cpp:43: `i' undeclared (first use this function)
retreive.cpp:43: `result' undeclared (first use this function)
retreive.cpp:45: `row' undeclared (first use this function)
retreive.cpp:56: parse error before `er'
retreive.cpp:60: parse error before `}'
retreive.cpp:60: confused by earlier errors, bailing out
Technical Details
Message-ID: <av11r7$bq113@imsp212.netvigator.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!spring.edu.tw!news.nctu.edu.tw!newsgate.cuhk.edu.hk!newsgate.netvigator.com!imsp212.netvigator.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109779,bd639db3d104f70d,start
X-Google-Attributes: gid109779,public
X-Google-Thread: 114592,bd639db3d104f70d,start
X-Google-Attributes: gid114592,public
X-Google-Thread: 102983,bd639db3d104f70d,start
X-Google-Attributes: gid102983,public
X-Google-Thread: 10a2c7,bd639db3d104f70d,start
X-Google-Attributes: gid10a2c7,public
X-Google-ArrivalTime: 2003-01-02 01:52:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!spring.edu.tw!news.nctu.edu.tw!newsgate.cuhk.edu.hk!newsgate.netvigator.com!imsp212.netvigator.com!not-for-mail
From: "Laplace" <Laplace@tranforms.org>
Newsgroups: alt.comp.lang.learn.c-c++,aus.computers.linux,japan.comp.lang.visual-c++,mailing.database.mysql
Subject: I have follow this to try C++ if mysql, where is sqlplus.hh and I am using mysql 3.23.41
Date: Thu, 2 Jan 2003 17:46:34 +0800
Organization: IMS Netvigator
Lines: 29
Message-ID: <av11r7$bq113@imsp212.netvigator.com>
NNTP-Posting-Host: n218103180113.netvigator.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300