Author Topic: The transition experience...  (Read 883 times)

0 Members and 1 Guest are viewing this topic.

Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 86
The transition experience...
« 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.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1996
    • www.zapsolution.com
Re: The transition experience...
« Reply #1 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.

 


 
« Last Edit: February 02, 2018, 09:57:25 PM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 86
Re: The transition experience...
« Reply #2 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

Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 86
Re: The transition experience...
« Reply #3 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

Offline James C. Fuller

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 659
Re: The transition experience...
« Reply #4 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

Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 86
Re: The transition experience...
« Reply #5 on: February 05, 2018, 06:59:11 PM »
Thank James,
I will visit pretty soon. :-)

Over and out... 
« Last Edit: February 07, 2018, 05:51:23 AM by Pierre Bellisle »