Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 20th, 2005, 4:13 PM   #1
astinus
Newbie
 
Join Date: Apr 2005
Posts: 2
Rep Power: 0 astinus is on a distinguished road
n00b questions on Win Programming and MFC

Greetings all,

I am new to C++ programming and I want to learn windows programming and interface design such as MFC or Forms. I have been wanting to create a few windows apps with MFC interfaces lately and I understand the basics but i'm stumbling around.

I have a couple questions along this topic and would appreciate some insight.

I'm curious about C# as it seems very similar to C++ but makes interface programming MUCH simpler than say using MFC.

1. Is it worth the time to learn C# just to use in a few lowend windows apps?
I understand C# is similar to Java in that it uses a run-time compiler. My general interest is in graphics programming so I don't imagine I will be using it much. I know i'll get to learning MFC eventually but i've just been wanting to make some simple windows apps in C.

I'm not actually very familiar with the options for creating UIs in windows.
2. Is there a better or even another method for Win UI creation in C++?

I'm also looking for a book(s) that would serve as a learning text as well as a reference. Any suggestions on windows programming books or windows interface books would also be appreciated.
astinus is offline   Reply With Quote
Old Apr 20th, 2005, 5:19 PM   #2
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Quote:
Originally Posted by astinus
Greetings all,
I'm curious about C# as it seems very similar to C++ but makes interface programming MUCH simpler than say using MFC.

1. Is it worth the time to learn C# just to use in a few lowend windows apps?
No, you better spend this time learning the C++ and the windows api.

Quote:
Originally Posted by astinus
I'm not actually very familiar with the options for creating UIs in windows.
2. Is there a better or even another method for Win UI creation in C++?
Well you can use the dialog editor in visual studio (or other IDEs).

Quote:
Originally Posted by astinus
I'm also looking for a book(s) that would serve as a learning text as well as a reference. Any suggestions on windows programming books or windows interface books would also be appreciated.
The only decent book (and one of the VERY few pure windows programming books) is Charles Petzold`s Programming Windows. It is also available on ebook format.

Also when you learn the basics, the MSDN is a GREAT, GREATE (so great i mispelled it) reference.

Hope i helped

Last edited by some1; Apr 20th, 2005 at 5:21 PM.
some1 is offline   Reply With Quote
Old Apr 22nd, 2005, 9:47 AM   #3
astinus
Newbie
 
Join Date: Apr 2005
Posts: 2
Rep Power: 0 astinus is on a distinguished road
Thank you much, yes it was helpful.

I'm already well on my way to mastering the message pump LOL.

I have a few books that cover Win programming but they are far too vague. I'll be sure to check out your suggestion.

Thanks again
astinus is offline   Reply With Quote
Old Apr 22nd, 2005, 4:38 PM   #4
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 4 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
I suggest you look at this website if you want to start with Windows API programming.



It doesn't take you through the MFC, just Win32. It also has a small section comparing and contrasting the MFC vs. API and why you would want to learn the API first, then move to the MFC once you got a good API foundation.
Mad_guy is offline   Reply With Quote
Old Apr 23rd, 2005, 4:45 AM   #5
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
i would avoid MFC took us hours at work to get a sijple dialog window working, It ties to do to much in the background for you
Berto is offline   Reply With Quote
Old Apr 23rd, 2005, 7:13 AM   #6
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Here are some more links for you:
http://www.catch22.net/tuts/
http://winprog.org/tutorial/
some1 is offline   Reply With Quote
Old Apr 23rd, 2005, 10:50 PM   #7
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
great site guys, thanks.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:11 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC