|
|
|
|
![]() ![]() |
![]() ![]() Group: Members
Posts: 26 Joined: 25-May 05 Member No.: 7,512 |
Post
#1
May 25 2005, 11:56 PM
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?
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 873 Joined: 30-July 04 Member No.: 246 |
Post
#2
May 26 2005, 03:58 PM
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. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
Post
#3
May 27 2005, 11:42 AM
QUOTE 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 trap17 they give you an unlimited amount of space for them And finally, here's the site where I learned some socket programming back in the day: http://www.ecst.csuchico.edu/~beej/guide/net/html/ |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 142 Joined: 24-December 04 From: Queensland, Australia Member No.: 2,902 |
Post
#4
May 27 2005, 03:17 PM
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 programming Beej's guide to network programming |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
Post
#5
Jun 1 2005, 12:03 PM
QUOTE 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. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 142 Joined: 24-December 04 From: Queensland, Australia Member No.: 2,902 |
Post
#6
Jun 1 2005, 01:39 PM
-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. So there you have it, for a good guide on socket programming. Beej's rocks... there's quite a few mirrors for it. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 142 Joined: 24-December 04 From: Queensland, Australia Member No.: 2,902 |
Post
#7
Jun 14 2005, 08:47 AM
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). |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
0 | OpaQue | 676 | 9th September 2004 - 08:40 AM Last post by: OpaQue |
|||
![]() |
5 | outwarsecrets | 601 | 16th August 2004 - 06:40 AM Last post by: stephenob |
|||
![]() |
9 | Panzer | 758 | 4th January 2007 - 08:52 PM Last post by: fffanatics |
|||
![]() |
7 | Raptrex | 596 | 27th August 2004 - 11:16 PM Last post by: Spectre |
|||
![]() |
3 | NuHoaXuLa | 649 | 17th November 2006 - 08:33 AM Last post by: farsiscript |
|||
![]() |
0 | sekundar | 756 | 26th July 2006 - 07:35 AM Last post by: sekundar |
|||
![]() |
1 | truvu17 | 493 | 21st September 2004 - 09:12 AM Last post by: OpaQue |
|||
![]() |
0 | aoehq | 1,101 | 17th March 2007 - 06:20 AM Last post by: aoehq |
|||
![]() |
0 | Bimboadmasministries | 598 | 8th October 2004 - 11:45 AM Last post by: Bimboadmasministries |
|||
![]() |
0 | Bimboadmasministries | 471 | 8th October 2004 - 11:55 AM Last post by: Bimboadmasministries |
|||
![]() |
10 | newbie_dhkt | 585 | 2nd January 2009 - 11:46 AM Last post by: triplebtalk |
|||
![]() |
4 | sithslayer | 390 | 14th December 2008 - 02:29 PM Last post by: sithslayer |
|||
![]() |
4 | DMA | 435 | 29th October 2004 - 07:50 PM Last post by: odomike |
|||
![]() |
1 | champ_rock | 623 | 15th July 2006 - 09:01 AM Last post by: BuffaloHELP |
|||
![]() |
0 | jackkkk26 | 613 | 12th November 2004 - 12:47 PM Last post by: jackkkk26 |
|||
|
Open Discussion | Time is now: 8th January 2009 - 09:24 AM |