Page 1 of 1
Win32 API -- C or C++
Posted: Tue Aug 03, 2004 9:03 pm
by Zamboni
I see that you can expand PB using the Win32 API. Does the Win32 API require knowledge of C++ or is C sufficent? Sorry for such a basic question. Just do not want to waste my time on C++ if it is not necessary.
Thanks in advance for the advice.
Posted: Tue Aug 03, 2004 9:08 pm
by Kale
C will suit you better for learning the WinAPI and for translating code to PB. C++ doesn't really help any more than C because PB doesn't really support the OOP abilities that C++ offers.
Posted: Tue Aug 03, 2004 9:09 pm
by thefool
well u dont need any knowlegde on either of them for basic use of win32 api.
Posted: Tue Aug 03, 2004 9:26 pm
by Zamboni
Wow! Thanks for the quick replies. Now back to studying. Thanks again.
Re: Win32 API -- C or C++
Posted: Tue Aug 03, 2004 11:27 pm
by PB
> Does the Win32 API require knowledge of C++ or is C sufficent?
Neither. I never used the API before PureBasic and learnt it from scratch,
both from examples in these forums and from other sources (mainly Visual
Basic sites). As a side-effect, learning the API with PureBasic has made it
easier for me to read and understand C source codes now.

Posted: Tue Aug 03, 2004 11:55 pm
by Kale
well u dont need any knowlegde on either of them for basic use of win32 api.
Ooops! Yes i forgot to mention, as thefool wrote you don't need any prior C knowledge to start using and learning the WinAPI from within PB. On the other hand though Learning the basics of C from a good beginners book will help you out a little more and solve many confusing things you may encounter.
As a side-effect, learning the API with PureBasic has made it
easier for me to read and understand C source codes now.
Yes, me too!
This is a link you may find useful for begining with the WinAPI:
viewtopic.php?t=10046
Posted: Wed Aug 04, 2004 8:22 am
by thefool
sure it helps to have basic c knowledge.