What's the difference between C++, C++/CX, and C++/WinRT?

Viewed 1498

I'm getting started with C++ in Visual Studio 2019 for reference.

Are any of them more useful for certain application types? (eg. game vs spreadsheet) Are any of them more useful for certain platforms? (eg. console vs desktop)

What I've found so far is, They are component extensions. Is this relevant if I'm writing my own extensions, or are these core extensions?

reference links are welcome

I apologize if this is a dumb question.

1 Answers

yms's comment deserves to be an answer, so here it is:

In a nutshell:

  • C++ a programming language,
  • C++/CX is an extension to the C++ language that used to facilitate developing winrt/uwp apps.
  • C++/winrt is the next generation approach for such apps, instead of an extension to C++, it's simply an API based on regular C++.
Related