Is it possible to create a C++ GUI with Visual Studio?

The C++ language is cross-platform, but its standard libraries don't provide anything specifically for any GUI development. For that, you need a C++ GUI framework/library. Qt happens to provide just that and it's also cross-platform.

So no, without the use of some cross-platform GUI framework, your application not only won't be cross platform, it simply won't have a GUI at all, since C++ standard libraries don't provide this functionality.

If you use one of the GUI frameworks available only for Windows, like MFC or Windows Runtime, you're not cross-platform.


There are no GUI libraries built directly into c++. Therefore, any GUI you built using c++ would not be cross-platform. There are a couple GUI libraries that come with Visual Studio - MFC and ATL are both fairly common. Neither are cross-platform, however. That doesn't stop you from using some other GUI framework, of course, if you include it. There are plenty to choose from, including ones that are cross-platform.

Just because a language is system-independent, doesn't mean people haven't written frameworks for it that aren't system-independent.


C++ has no standard, built-in GUI library. If you want to make cross-platform GUIs you must use an add-on library like C++, GTKmm, wx, etc.

If you're OK with targeting Windows only, MFC exists and is included with Visual C++.