Search code examples
cvisual-studiodesktop-application

Is it Possible to Make a Desktop Application (With GUI) using only C?


So I've looked around for a few days now and the resources seem pretty scarce ... I get that it's quicker to use a dedicated language for this (like C++), but I'm still curious about where I could learn to do it with only C.

This tutorial seemed kind of promising, but I thought surely there must be some more out ... does anyone know of any?


Solution

  • It is possible.

    Sure you'll need platform headers, like <windows.h> but those are C headers.

    But it is not a very good idea, even as learning exercise.

    C is too low level language for desktop applications. Windows Drivers are normally written in C, as well as console apps, but GUI objects are better with object-oriented language, which can provide object-oriented interface for Windows objects.