linkmaster03 0 Report post Posted May 25, 2005 How can I make and acces, send info, and retrieve it in a C++ program? And also, how can I access information in my website and display it in a program? Share this post Link to post Share on other sites
Spectre 0 Report post Posted May 26, 2005 Look up socket programming in C++. There are many very good guides, articles and source code snippets available to learn from.I only code in C and not in C++, so whilst I could give you a quick demo, I'm not 100% sure of what would might need to be changed to make it operate correctly in C++.Also, it depends on which platform you are operating on. Whilst Win32 uses winsock, nix-based operating systems do not. Share this post Link to post Share on other sites
osknockout 0 Report post Posted May 27, 2005 And also, how can I access information in my website and display it in a program?I'd suggest you play around with MySQL tables; if your site's on Xisto they give you an unlimited amount of space for them . I don't know if there are C++ libraries which'll let you use them directly from C++, but you can try a C++<->Perl<->MySQL table setup.And finally, here's the site where I learned some socket programming back in the day:http://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
dexter 0 Report post Posted May 27, 2005 I'm pretty sure MySQL has a whole set of C functions for connecting and retreiving from and sending data to a database. And there's also a set of C++ wrapper classes called mysql++.But if, for some reason you're more interested in socket programming then these two are good depending on the platform the program is on.Winsock programmingBeej's guide to network programming Share this post Link to post Share on other sites
osknockout 0 Report post Posted June 1, 2005 But if, for some reason you're more interested in socket programming then these two are good depending on the platform the program is on.Hey dexter, that was unfair man. I'm relearning it right now. By the way, Beej's guide to network programming is down right now. Share this post Link to post Share on other sites
dexter 0 Report post Posted June 1, 2005 -cough- I didn't even realise your link was to Beej's, too... and what I said was in reference to being more interested in sockets than in mySQL tables. I've been relearning socket programming lately, too. :rolleyes:So there you have it, for a good guide on socket programming. Beej's rocks... there's quite a few mirrors for it. Share this post Link to post Share on other sites
dexter 0 Report post Posted June 14, 2005 On the topic of sockets, for actually -understanding- how sockets work and such, Adventures in Unix Network Applications Programming by Bill Rieken and Lyle Weiman is incredibly good. This will help with understanding winsocks, too (since winsocks are mostly the same as BSD sockets). Share this post Link to post Share on other sites