Hello.
This is an output of diff user.c user.cpp. Which successfully compiles on my FC3 system using the following command: g++ user.cpp -I/usr/include/mysql -lmysqlclient I've changed the extension to 'cpp', so g++ could work with this file. Also #include<conio.h> was commented, and main now returns int. [EMAIL PROTECTED] pgm]$ diff user.c user.cpp 2c2 < #include <conio.h> --- > //#include <conio.h> 17c17 < void main() --- > int main() 52a53 > Ashok Kumar <[EMAIL PROTECTED]> wrote: > [-- text/plain, encoding 8bit, charset: iso-8859-1, 29 lines --] > > Dear Friends, > I'm Ashok here. first i'll tell my sys configuration. > 1.Redhat-Linux 9 > 2.Intel Pentium chipset > 3.MySQL 4.1 with Development Libraries > > For this i've downloaded the MySQL4.1 under the > specification "Linux x86 RPM downloads" from the site. > > In my system, the MySQL Server is working well. I > tried to run the C program that will make the > connection to the MySQL database and create the user > database and useracc table. > It's finely working with Windows-VC++. But when i'm > trying to run with Linux gcc, I'm getting lots of > errors. I don't know what's the problem. I've attached > the C-Pgm and the Error info. > > Pls, help me regarding this. > > Thanks and Regards, > Ashok. > > > > ____________________________________________________ > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > http://football.fantasysports.yahoo.com > [-- application/zip, encoding base64, 97 lines, name: Pgm_Err.zip --] > [-- Description: 3707653052-Pgm_Err.zip --] > > [-- text/plain, encoding 7bit, charset: us-ascii, 5 lines --] > > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]