Journal FortKnox's Journal: Visual C++/MFC People 13
Lets say... hypothetically... that there is a consultant (that is well versed in Java and OO and had C++ while at school, and is a bit rusty at it) that needed to learn Visual C++ and MFC within, say, a week.
What would he have to do to get in the know that fast?
He has a copy of VC++ 6 lying around somewhere, but hasn't ever done C++ on windows.
What would he have to do to get in the know that fast?
He has a copy of VC++ 6 lying around somewhere, but hasn't ever done C++ on windows.
Buy a Qt license... (Score:2)
Go for GTK+ or Qt (Score:1)
Re:Go for GTK+ or Qt (Score:2)
Sorry, I have to ask: What exactly is a "fucking" and how does it pain the ass? :-)
Re:Go for GTK+ or Qt (Score:2)
On the other hand I was able to be productive in Q
Look at lots of source code (Score:2)
Good point (Score:2)
And Code Project [codeproject.com] is a good place to get lots of free MFC code and tutorials.
Thanks (Score:1)
If you are looking for a book... (Score:2)
... Programming Windows with MFC [amazon.com] by Jeff Prosise is considered to be the "Petzold" of MFC. Personally, if your C++ is a litty rusty and you haven't done C++ programming in Windows, trying to learn MFC in a week will be quite a challenge. It's a rather strange implementation of OO principles for Windows and has tons of strange nuances that I can't seem to grasp. If you can get away with skipping MFC, but they won't buy you a Qt license like X mentioned, then you could also look into Windows Template Libra
Focus on VC++ (Score:1)
The easiest way to learn is decide on what you want to do, then ask me
Just remember, VC++ is event driven, unlike C++. If you don't know how to get data to or from your object, type in the object name, followed by a period (ex:
MFC (Score:2)
But, if he must muck with MFC, I'd recommend the book MC Hampster mentioned, as well as going through the Scribble tutorial that ships with VC++.
And yes, Codeproject.com is your friend.
MFC bad. (Score:2)
To paraphrase Dijkstra: The use of MFC cripples the mind. It's teaching, therefore, should be regarded as a criminal offense. :-)
Is this for a specific assignment, or are you just brushing up on your m4d w1n32 skillz? Don't try to plumb the murky depths of MFC unless you absolutely need to. It's not worth the energy. If you're working with COM, check out ActiveX Template Library (ATL). In fact, check out templates in general. STL and Boost are very handy things to have in your toolkit.
Good luck. (Score:2)
Whether you can learn it quickly enough will depend on what your project is. Are you starting a new application? How fancy is the UI? Any silliness like MDI forms?
If possible, I'd aim it towards rudimentary UI in as few windows as possible. Use the Win32 application wizard to get your first window drawn, and only get caught up