Graphical user interface Tutorial in C

前端 未结 3 661
既然无缘
既然无缘 2021-01-30 03:38

I have a project in C language and the teacher ordered to make a Gui of project. I can only use C or C++ for the GUI part.

Can anyone please suggest me Some easy open so

相关标签:
3条回答
  • 2021-01-30 03:59

    You can also have a look at FLTK (C++ and not plain C though)

    FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX®/Linux® (X11), Microsoft® Windows®, and MacOS® X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL® and its built-in GLUT emulation.

    FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes.

    Here are some quickstart screencasts

    [Happy New Year!]

    0 讨论(0)
  • 2021-01-30 04:00

    The two most usual choices are GTK+, which has documentation links here, and is mostly used with C; or Qt which has documentation here and is more used with C++.

    I posted these two as you do not specify an operating system and these two are pretty cross-platform.

    0 讨论(0)
  • 2021-01-30 04:06

    My favourite UI tutorials all come from zetcode.com:

    • wxWidgets (C++, cross platform)
    • Win32api GUI (C, Windows)
    • GTK+ (C, cross platform)
    • Qt4 Tutorial (C++, cross platform)

    These are tutorials I'd consider to be "starting tutorials". The example tutorial gets you up and going, but doesn't show you anything too advanced or give much explanation. Still, often, I find the big problem is "how do I start?" and these have always proved useful to me.

    0 讨论(0)
提交回复
热议问题