compile C++ in PGI compiler

I am using the PGI 19.10 community edition on windows. When I run the command pgcc --version I can see the version used but when I use pgc++ --version it said command not found.
How can I compile c++ code in the PGI compiler?

Thank you in advance.

Hi h.alosaimi,

Sorry, but we don’t currently support C++ on Windows, just C and Fortran. We do plan on adding it in the future, but don’t have a firm timeline that we can share as to when this will occur.

-Mat

Can I compile it in Ubuntu?

Yes, pgc++ is supported on Linux.

For the list of supported platforms, please see: https://www.pgroup.com/resources/docs/20.1/x86/pgi-release-notes/index.htm#supported-platforms

-Mat