Is C or C++ better for making portable code?
c, c++, portability
Solution
I would use C++, mostly because it provides a lot more "stuff" to use and as far as my experience goes is as portable as C. However, I have not used straight C/C compiler for 10 years or more.
EDIT
A commenter questioned my experience with portability. Mine is limited to Linux and Win32 primarily. I assumed this would be sufficient OSes for this exercise.
Problem
I am trying to have some fun in summer. Writing a piece of code that enables presenting Arabic language in systems that support Unicode but no support for eastern languages it. I am writing only the logic hopefully with no integration code initially. Should I use C++ or C? Which is the easier language to write portable code and easier to integrate with Python possibly? Edit: I am fairly good with C/C++ though I consider myself closer to C++. But It seems it is easier to write C and plug it every where or I am wrong ? I would write some functions to process Arabic Unicode String. presenting Arabic language need some processing because ALMOST ALL characters have different shapes in different contexts. Edit: It seems I will go with C++, just to make it more fun.