Powerbasic Museum 2020-B

IT-Consultant: Patrice Terrier => C++ programming (SDK style) => Topic started by: Pierre Bellisle on February 02, 2018, 02:03:36 AM

Title: The transition experience...
Post by: Pierre Bellisle on February 02, 2018, 02:03:36 AM
So!

Beaucoup d'eau a coulée sous les ponts Patrice...

How would you describe this pb to C++ transition, the hardest to do, do you miss something from the basic language, etc...

I did install MS C++ and try to get the spirit. I will read those c2pb posts of yours.
Title: Re: The transition experience...
Post by: Patrice Terrier on February 02, 2018, 09:44:47 PM
Pierre

For me as a low level SDK coder, that was not that hard, the core API being the same whatever the language used.

The hardest thing was to switch from the PB string engine, to native unicode t-char WCHAR.
There is a complete string engine in C++; but i prefer to use procedural code rather than OOP classes.
Along the years i wrote my own set of include files that i am now using with all my projects.
C++ performing dead code removal automatically

If you want to move on, i can help you with my own set of utilities and source code examples, that i did post on my private forum here :
www.objreader.com

And because i am mainly using the procedural coding style, you should easily learn from my examples ;)
I am even using a code structure that respects the same {if / end if} indentation than in PB.

One important thing to consider with C++, is that you can always use the latest API as soon as they become available.
The VS 2017 IntelliSense code editor, is years ahead of everyting ever written for PB, and i am not speaking of the ease to switch between 32 or 64-bit.





Title: Re: The transition experience...
Post by: Pierre Bellisle on February 02, 2018, 11:04:06 PM
Ouaip,

I certainly want to be able to use this MS C++ beast,
mainly for the pleasure of learning and, also, there is a myriad of other sub reasons.

You might see me on ObjReader forum...

Thank a lot for the info, it give a more precise idea of what's in front of me. :-)

Pierre
Title: Re: The transition experience...
Post by: Pierre Bellisle on February 04, 2018, 09:07:39 PM
About good address pointers for a young neophyte,

I like http://www.cplusplus.com/ a lot

Does anybody have some others in mind?

Thanks
Title: Re: The transition experience...
Post by: James C. Fuller on February 05, 2018, 11:02:01 AM
 Pierre,
Here are a couple more that I use.
https://cboard.cprogramming.com/
http://forums.codeguru.com/forum.php

James
Title: Re: The transition experience...
Post by: Pierre Bellisle on February 05, 2018, 06:59:11 PM
Thank James,
I will visit pretty soon. :-)

Over and out...