- May 7, 2013
- 10,400
Those anyone know where to find any good Windows programming tutorials for C++? I mean write Visual applications, the MSDN documentation is okay, but doesn't really explain much and how to implement the code properly.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This thread is two years old if you haven't noticed.
No, I'm not saying that it can't be contributed more.
I'm just pointing it out in case you missed it.
No, I'm not saying that it can't be contributed more.
I'm just pointing it out in case you missed it.
Why though? It's only less than a month old, but there were no previous replies either. I think it's fine :)
No, I'm not saying that it can't be contributed more.
I'm just pointing it out in case you missed it.
Why though? It's only less than a month old, but there were no previous replies either. I think it's fine :)
Technically a month and two years, but close enough
I think it's fine though - good content is good content. If it's triggered an interesting discussion as this precisely has, what does it really matter if the original post was a couple of years old. I think that our focus should be on generating good content, not worrying too much about the how :)
Charles Petzold's Programming Windows, 5th Edition, and Kernighan-Richie "The C Programming Language", 2nd edition, are a must.
By the way, I'm not a programmer...
Wikipedia said:Over the years, various changes and additions were made to Windows systems, and the Windows API changed and grew to reflect this. The Windows API for Windows 1.0 supported fewer than 450 function calls, whereas modern versions of the Windows API support thousands.
Wikipedia said:One of the largest changes to the Windows API was the transition from Win16 (shipped in Windows 3.1 and older) to Win32 (Windows NT and Windows 95 and up).
Wikipedia said:Almost every new version of Microsoft Windows has introduced its own additions and changes to the Windows API.
Actually the WinAPI has changed over the years. Not nearly as much as the language but it has changed.
Wikipedia said:Over the years, various changes and additions were made to Windows systems, and the Windows API changed and grew to reflect this. The Windows API for Windows 1.0 supported fewer than 450 function calls, whereas modern versions of the Windows API support thousands.
Wikipedia said:One of the largest changes to the Windows API was the transition from Win16 (shipped in Windows 3.1 and older) to Win32 (Windows NT and Windows 95 and up).
Wikipedia said:Almost every new version of Microsoft Windows has introduced its own additions and changes to the Windows API.
Even a cursory read of Windows API - Wikipedia, the free encyclopedia would have shown you that you are wrong.
Now look here - a hello world application which is hundreds of lines long. Written in C and an ancient version of WinAPI.
Petzold Book Blog - The Infamous Windows Hello World Program
We've moved on since then. As computers have got more and more complex, Microsoft and other API developers have been creating more and more wrappers, functions or language extensions to simplify everyday or routine coding tasks. It is naïve and foolish to think that shunning 20 years of computer development and returning to the 1990s is a good way forward.
My precise point is that - at this early stage - building up from a basis of C and trying to learn ancient techniques, followed by repeatedly re-learning new ones as you progress up through the years, breaking old habits and trying to forget things C programmers did we no longer consider best practice, is an exceptionally bad way to trying to learn to program.
Instead buy a modern C++ programming book, which teaches the latest and most up to date techniques, and jump straight in there. Don't start 20 years ago and build on a shoddy foundation of C. Go straight to modern C++.
Your talk about redistributables is also again wrong. Microsoft keep building the latest ones directly into Windows OOBE. Even as far back as Windows Vista - dating from the 2005 era - has .net Framework 2.0 and Visual C++ Redistributable 2005. So you don't even have to bundle anything with your installer to make your programs work.
Almost every piece of advice you have given here is wrong. Please consider carefully whether or not you have done enough WinAPI programming to talk knowledgeable in this area.
Has Sysnative Forums helped you? Please consider donating to help us support the site!