On Friday, 21 June 2013 at 13:52:58 UTC, eles wrote:
On Friday, 21 June 2013 at 13:16:07 UTC, Paulo Pinto wrote:
On Friday, 21 June 2013 at 12:01:31 UTC, Dicebot wrote:
On Friday, 21 June 2013 at 11:13:49 UTC, Paulo Pinto wrote:
This is why Microsoft killed C in their tooling. Unless they
change their mind, C++ will be the lowest you can get in a few
Visual Studio interactions.
As long as you still can wrap everything in extern "C" {} for
mangling purposes and that you have all those standard C
headers... it is C++ only by the name.
That is C++ nevertheless. It would be same issue if I present you
a D or Objective-C code snippet where the syntax overlaps with
the one from C.
As anecdote, back when MS-DOS 5 was the latest version of MS-DOS,
I had access to a C++ application composed of plain functions
with pure asm bodies in a .cpp files.
--
Paulo