LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2004, 03:32 AM   #1
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Rep: Reputation: 30
Help Me With Linux Programming


Hello everyone. I have a bunch of PHP scripts I want to convert to C++, but I have a major problem: Linux. Most of my programming experience is under windows. Basically I need to modify Jpeg files and access a MySql database. I downloaded and installed the Jpeg library, but there doesnt seem to be any easy tutorial on how I an load a file, change it, etc. Can anyone show me any goot tutorials? As for the mySQL, I just need some functions that will allow me to connect to a DB and send querys and recieve results.

Thanks in advance for any help
 
Old 01-20-2004, 07:04 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Trying to use C++ for your jobs is very tough. But you can use toolkits like QT or GTK+ and your job will be greatly simplified. Try googling for either GTKmm or QT.
 
Old 01-20-2004, 09:36 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What are you trying to do with the jpegs? Qt and GTK+ are a little overkill if this isn't a gui base application. libjpeg is probably what you need, I am looking for a tutorial or at least a little documentation on it's functions, I'll let you know when/if I find something.
 
Old 01-20-2004, 10:06 AM   #4
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 36
The mySQL documention is a great reference on the mySQL C API, and the function names are pretty self-explanatory.
 
Old 01-20-2004, 10:24 AM   #5
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Original Poster
Rep: Reputation: 30
Ive basically sorted out the jpeg problem - wrote 2 functions to load and save them. I'll try the mysql website for those docs, thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM
C/C++ programming for linux leeman_s Linux - General 6 01-28-2003 06:16 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM
New to Linux programming .... need help Izhar Programming 2 10-17-2001 03:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration