public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* MySQL Questions.
@ 2006-07-11 20:19 Rob Waldrum
  2006-07-11 21:42 ` Artūras Moskvinas
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Waldrum @ 2006-07-11 20:19 UTC (permalink / raw)
  To: gcc-help

Hi guys,

I'm developing a C program from a MS-DOS Command window (Client side), 
and have to use MySQL to open up a database on the Unix server side and 
read a table. Although I've been programming in C for nearly 20 years, 
and have used MySQL in PHP scripting a while back, I have never had to 
use MySQL in a C program before.  I'm having some issues compiling, but 
more than that, what I need is just sample program or an example program 
that I can draw from so I can also get passed any issues once I've 
compiled and start accessing the database on the unix server. I would 
appreciate any help.

Thanks,
Rob

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MySQL Questions.
  2006-07-11 20:19 MySQL Questions Rob Waldrum
@ 2006-07-11 21:42 ` Artūras Moskvinas
  0 siblings, 0 replies; 2+ messages in thread
From: Artūras Moskvinas @ 2006-07-11 21:42 UTC (permalink / raw)
  To: Rob Waldrum; +Cc: gcc-help


> Hi guys,
> 
> I'm developing a C program from a MS-DOS Command window (Client side),
> and have to use MySQL to open up a database on the Unix server side and
> read a table. Although I've been programming in C for nearly 20 years,
> and have used MySQL in PHP scripting a while back, I have never had to
> use MySQL in a C program before.  I'm having some issues compiling, but
> more than that, what I need is just sample program or an example program
> that I can draw from so I can also get passed any issues once I've
> compiled and start accessing the database on the unix server. I would
> appreciate any help.

It is not the exactly right place to ask this question, you should ask
mysql mailing list...

Here is some examples:
http://www.geocities.com/jahan.geo/mysql_c_by_example.html
http://dev.mysql.com/doc/refman/4.1/en/apis.html

Arturas M.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-11 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11 20:19 MySQL Questions Rob Waldrum
2006-07-11 21:42 ` Artūras Moskvinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).