Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Window creation in C
  
User name:
Password:
Reply:
 

UserPost
Neo.EXE
Posts: 3/17
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.
NightHawk
Posts: 89/621
Originally posted by BGenesis
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.)
You don't HAVE to compile OpenWatcom, and I never have. I always download the pre-built installer, and it works just fine.
BGenesis
Posts: 25/38
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.)
Jesper
Posts: 338/2390
http://www.winprog.org/tutorial/ should help.
neotransotaku
Posts: 564/4016
Originally posted by HyperHacker
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.


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.
NightHawk
Posts: 67/621
Originally posted by neotransotaku
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.
Actually, 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.
Dish
Posts: 62/596
http://www.gamedev.net/reference/programming/features/gpgenesis1/


That's where I learned. Great tutorial on the basics of setting up SDI.
HyperLamer
Posts: 607/8210
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.
neotransotaku
Posts: 562/4016
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
Posts: 599/8210
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.
Acmlm's Board - I2 Archive - Programming - Window creation in C


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.012 seconds.