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 - Window creation in C | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
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: 599/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
At the risk of sounding like a n00b, might anyone have a dumbed-down, step-by-step tutorial on creating a window in C? I know how to do the basic stuff and call the functions, but I can't figure out what to call when. I found one tutorial and couldn't understand a bit of it, I found myself trying to define one thing so I could define another to define the first one. | |||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 562/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
whose compiler or IDE are you planning to use? Right now, there are two compilers who can create Win32 programs in C: gcc and of course, Microsoft. | |||
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: 607/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Eh, Dev-C++ (though I'm using C). I was able to create a window, but the code was all copy and paste; I didn't understand a bit of it. | |||
Dish Spiny Level: 38 Posts: 62/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
http://www.gamedev.net/reference/programming/features/gpgenesis1/ That's where I learned. Great tutorial on the basics of setting up SDI. |
|||
NightHawk Bob-Omb Level: 39 Posts: 67/621 EXP: 374743 For next: 30028 Since: 03-26-04 From: Switzerland Since last post: 432 days Last activity: 339 days |
| ||
Originally posted by neotransotakuActually, there's also OpenWatcom which is open source, like gcc, but it also tends to act like Microsoft's compiler, which most books or tutorials seem to assume you're using, so overall I'd recommend it. The downside is that if you just want to download the installer, it's 60MB (not a problem for me since I'm on DSL, but it would easily be a problem for someone on dialup). You can download individual packages though, but it's more work that way. As for the original question, you might want to check out a book titled "Windows 95 Programming in C and C++" by Herbert Schildt. That's where I learned all of that stuff. There's probably something new out by now though, covering more recent operating systems, but Win95 programs still work even on XP, so that's probably not a big deal for you yet. |
|||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 564/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
Originally posted by HyperHacker maybe you should see if there is a copy of Programming Windows, Fifth Edition by Charles Petzold...this guy is like the godfather of programming windows apps using C with the WinAPI as your guide. |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 338/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
http://www.winprog.org/tutorial/ should help. | |||
BGenesis Red Goomba Level: 11 Posts: 25/38 EXP: 5415 For next: 570 Since: 05-17-04 From: In the tyranny that is Brittania. Since last post: 516 days Last activity: 339 days |
| ||
Note with OpenWatcom you'll have to download a load of libraries and cygwin to compile it, unless you can find pre-rendered files. I don't know if that's worth it. I find Dev-C++ fairly adequate. You could also try running KDevelop (the momma of open-source IDEs) under Cygwin, which is possible (see their site.) |
|||
NightHawk Bob-Omb Level: 39 Posts: 89/621 EXP: 374743 For next: 30028 Since: 03-26-04 From: Switzerland Since last post: 432 days Last activity: 339 days |
| ||
Originally posted by BGenesisYou don't HAVE to compile OpenWatcom, and I never have. I always download the pre-built installer, and it works just fine. |
|||
Neo.EXE Micro-Goomba Level: 8 Posts: 3/17 EXP: 1615 For next: 572 Since: 05-20-04 From: USA Since last post: 529 days Last activity: 339 days |
| ||
http://www.borland.com/index.html This program here is realy nice just like Visual C++. But you have to register an account to get the program. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Window creation in C | | | |