Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - C/C++ | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Psycho Newcomer Level: 3 Posts: 1/4 EXP: 94 For next: 34 Since: 06-15-05 Since last post: 139 days Last activity: 129 days |
| ||
Hey, I'm currently "Trying" to learn how to make stuff in C/C++. i'm just wondering what programs i should use to do this? I need a good compiler and also what do i write the code using? I'm going to try to make an ONLINE GAME one day and i really need help learning. Any good sites you could tell me please do, and where i can get the software also. Thanks, Psycho. |
|||
Ramsus Octoballoon Level: 19 Posts: 104/162 EXP: 34651 For next: 1126 Since: 01-24-05 From: United States Since last post: 39 days Last activity: 71 days |
| ||
Two free IDEs (editors/project manager programs for developers) with compilers: http://www.bloodshed.net/dev/devcpp.html - Uses GCC for the compilers, which is used for just about everything (Linux, BSD, Mac OS X, embedded development, etc.) these days. Better for standards support and cross-platform development. http://lab.msdn.microsoft.com/express/visualc/default.aspx - Uses Microsoft's latest C/C++ compiler, which is used for most Windows development these days. Install both if you can. http://www.cplusplus.com/doc/tutorial/ - I never noticed this tutorial set before. It looks pretty straightforward too. Once you've learned to write programs in C++, you'll want to learn about threads and then sockets for network programming. Then you'll want to learn about graphics and sound programming, which is easiest if you just use SDL and OpenGL (which are libraries you can access with C++). You can even use the SDL_net library to simplify the network code, but I still suggest learning about sockets first. An online game is particularly difficult, so you'll definitely want to learn how to manage good Object Oriented design and have a fairly good model of your interfaces figured out before actually trying to write it. You'll also want to tackle it part by part, heavily testing each part as you write it. But just getting started, try to get the basic language down really well by writing lots of programs that do things. In fact, learning a programming language only make up maybe a third of programming itself. The other two big concepts you need to learn are algorithms and programming paradigms, which come either by studying books and discrete math (boring as hell, don't try until you're fairly advanced and need more powerful methods of finding and analyzing algorithms) or by writing lots of programs that solve tough problems (on your own of course). EDIT: With that Microsoft one, you'll also have to download the Platform SDK (to use the Win32 API, needed to build and use SDL with it as well) and the DirectX SDK (to use DirectX, needed to build and use SDL with it). That makes for a lot of downloading, so you might want to just use the DevCpp IDE and GCC. Both are fairly tried and true at this point; you'll find plenty who'll swear by them. EDIT2: I wanted to double check the licensing agreement on the Microsoft one, but then I ran across this:
So don't bother using it if you don't want to end up buying it. (edited by Ramsus on 06-15-05 10:32 AM) (edited by Ramsus on 06-15-05 10:38 AM) |
|||
Psycho Newcomer Level: 3 Posts: 4/4 EXP: 94 For next: 34 Since: 06-15-05 Since last post: 139 days Last activity: 129 days |
| ||
Ok thanks for all of that bud. Is there any tutorials anywhere? Psy. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 5004/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
I recommend Textpad for an IDE and MinGW for a compiler. Both very nice programs, and MinGW is free. You can find some tutorials at www.planetsourcecode.com. You may want to block their cookies so you don't have to register, though I recommend you do register so you can leave comments and post code. Just use an email account you don't mind getting spam in. |
|||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 3235/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
Since you want to do online gaming with C, I suggest finding a book on UNIX Networking fundamentals if you use MinGW since it has roots from UNIX. | |||
Dwedit Shyguy Level: 17 Posts: 59/92 EXP: 20794 For next: 3949 Since: 04-26-04 Since last post: 5 days Last activity: 1 day |
| ||
I've just been using winsock on mingw. | |||
Ramsus Octoballoon Level: 19 Posts: 106/162 EXP: 34651 For next: 1126 Since: 01-24-05 From: United States Since last post: 39 days Last activity: 71 days |
| ||
Winsock, BSD sockets, whatever. They're almost the exact same thing. Then with anything UNIX, you have to ask, SYSV, BSD, POSIX, or system specific? |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - C/C++ | | | |