psasidisrcum
February 22nd, 2005, 06:47 PM
Hi all,
I've only recently started tackling learning the Win32API and am confused by a number of things.
The examples in Petzold's book were written in C, not C++ (I think he states somewhere that's because at the time of writing, most Windows programmers were still using C). Does this mean that some of the functions he uses are outdated? Like, say, string manipulation functions. Certainly the API functions did not change or did they..?
Only having learned C++ myself, I am only vaguely aware of the differences between C++ and C. I know C++ is a superset and supports OOP and so forth, but I am wondering what the differences would be in programming with the Win32API using C++ and C.
Finally, is his book still considered the "bible" or have there been better books since?
I've only recently started tackling learning the Win32API and am confused by a number of things.
The examples in Petzold's book were written in C, not C++ (I think he states somewhere that's because at the time of writing, most Windows programmers were still using C). Does this mean that some of the functions he uses are outdated? Like, say, string manipulation functions. Certainly the API functions did not change or did they..?
Only having learned C++ myself, I am only vaguely aware of the differences between C++ and C. I know C++ is a superset and supports OOP and so forth, but I am wondering what the differences would be in programming with the Win32API using C++ and C.
Finally, is his book still considered the "bible" or have there been better books since?