LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Code Warriors
Author Message
MattSharp
Cat Chaser
Cat Chaser


Joined: 16 Aug 2003
Posts: 989
Location: Milwaukee/Chicago

Post Posted: Thu Oct 16, 2003 6:09 pm   Post subject: SQL and C++? Reply with quote Back to top  

Is it hard to use these both together on a Windows system? Any good tutorials or places to start?
View user's profile Send private message AIM Address
Lycander
Lead Dog
Lead Dog


Joined: 24 May 2002
Age: 25
Posts: 12198
Location: The Constitution State

Post Posted: Thu Oct 16, 2003 6:45 pm   Post subject: Reply with quote Back to top  

MySQL has C++ libraries you can link to your apps to talk to a MySQL server. I do believe you can do plain ODBC connections on any SQL server that abides by those standards.

Some places to start looking:

www.programmersheaven.com

www.codeproject.com (windows specific)

http://www.codeproject.com/database/#ODBC

http://www.codeproject.com/database/#SQL

_________________
To the top of hunger mountain
I found my solitary ways
Where I could live on nuts and honey
And take my shelter in a cave
View user's profile Send private message
hohlecow
Tail-Wagger
Tail-Wagger


Joined: 17 May 2002
Posts: 2151
Location: hungary for turkey and chile

Post Posted: Sat Oct 18, 2003 8:42 pm   Post subject: Reply with quote Back to top  

i think i know what you're trying to use it for. we tried using it for that too, but the guy who was working on the data layer gave it up and ended up just using flat files.

let me know if you get it to work, i'm sure it'll work a lot better for you then flat files, and you can get rid of a lot of parsing code by writing intelligent sql statements.

good luck!

_________________
give as much as you can, and take nothing

sometimes i think if zombies were attacking us, liberals would be fighting for thier rights, "they eat brains for fuel, it's part of who they are" or "we can't descriminate against them, that's just the way they were reanimated."


trying it again: POTD (picture of the day)
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Lycander
Lead Dog
Lead Dog


Joined: 24 May 2002
Age: 25
Posts: 12198
Location: The Constitution State

Post Posted: Sat Oct 18, 2003 9:25 pm   Post subject: Reply with quote Back to top  

Another option is to use XML. Here's one I liked:

http://www.firstobject.com/dn_markup.htm

There's an eval version for non-commercial use, commercial license is $249. It's a C++ class.

_________________
To the top of hunger mountain
I found my solitary ways
Where I could live on nuts and honey
And take my shelter in a cave
View user's profile Send private message
hohlecow
Tail-Wagger
Tail-Wagger


Joined: 17 May 2002
Posts: 2151
Location: hungary for turkey and chile

Post Posted: Sun Oct 19, 2003 1:40 pm   Post subject: Reply with quote Back to top  

Lycander wrote:
Another option is to use XML. Here's one I liked:

http://www.firstobject.com/dn_markup.htm

There's an eval version for non-commercial use, commercial license is $249. It's a C++ class.


that looks a lot better then microsoft xml services, which i had to work with on a previous project. i'd like to stay away from COM for the rest of my life if possible Smile

_________________
give as much as you can, and take nothing

sometimes i think if zombies were attacking us, liberals would be fighting for thier rights, "they eat brains for fuel, it's part of who they are" or "we can't descriminate against them, that's just the way they were reanimated."


trying it again: POTD (picture of the day)
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Lycander
Lead Dog
Lead Dog


Joined: 24 May 2002
Age: 25
Posts: 12198
Location: The Constitution State

Post Posted: Mon Oct 20, 2003 5:40 am   Post subject: Reply with quote Back to top  

Dundas' Ultimate Toolbox is kinda expensive, but every powerful. Lots of cool classes and a kick ass XML parser, better than the first one I linked. I bought both because Dundas' UT libraries aren't WinCE copatible while CMarkup is.

_________________
To the top of hunger mountain
I found my solitary ways
Where I could live on nuts and honey
And take my shelter in a cave
View user's profile Send private message
MattSharp
Cat Chaser
Cat Chaser


Joined: 16 Aug 2003
Posts: 989
Location: Milwaukee/Chicago

Post Posted: Tue Oct 28, 2003 6:33 am   Post subject: Reply with quote Back to top  

Hmm, those tutorials are ok, but I was looking more for a specific wrapper class that someone could recommend?
View user's profile Send private message AIM Address
hohlecow
Tail-Wagger
Tail-Wagger


Joined: 17 May 2002
Posts: 2151
Location: hungary for turkey and chile

Post Posted: Tue Oct 28, 2003 7:29 am   Post subject: Reply with quote Back to top  

what was wrong with mysql++? it looks like a nice OO way to get at MySQL.

here's the manual in case you were lazy: http://www.mysql.com/documentation/mysql++/ Very Happy

_________________
give as much as you can, and take nothing

sometimes i think if zombies were attacking us, liberals would be fighting for thier rights, "they eat brains for fuel, it's part of who they are" or "we can't descriminate against them, that's just the way they were reanimated."


trying it again: POTD (picture of the day)
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!