3 Replies - 925 Views - Last Post: 28 November 2007 - 05:15 PM Rate Topic: -----

#1 lockdown  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 6
  • View blog
  • Posts: 394
  • Joined: 29-September 07

Creating interface for a C++ program

Post icon  Posted 28 November 2007 - 03:49 PM

This might be kinda of a silly question but one that I cant seem to find an answer to.

I was wondering is it possible to build a user interface with C++, such as a window with a logo and some buttons. I would assume so but I was not 100% sure and did not want to ask it in class. My goal with programming is to be able to build some small applications with user interfaces. So is it possible to be one in just C++ or do I need to uses another language.

Is This A Good Question/Topic? 0
  • +

Replies To: Creating interface for a C++ program

#2 bobwrit  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 03-November 07

Re: Creating interface for a C++ program

Posted 28 November 2007 - 04:26 PM

You could use SDL.It's in c/c++.
Was This Post Helpful? 0
  • +
  • -

#3 skaoth  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 91
  • View blog
  • Posts: 601
  • Joined: 07-November 07

Re: Creating interface for a C++ program

Posted 28 November 2007 - 05:12 PM

The short answer is yes.
However, c++ by itself has no understanding of UI elements.
Generally you have to use some sort of windowing toolkit or API.

For C++ you have (but not limited to)

Windows API
----------------
Win32, Windows Template Library, MFC

Linux/Windows
-----------------
QT (by Trolltech)

Linux
-------
GTK
Was This Post Helpful? 0
  • +
  • -

#4 Jingle  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 317
  • Joined: 20-October 07

Re: Creating interface for a C++ program

Posted 28 November 2007 - 05:15 PM

yes it is.
some IDEs have powerfull tools that alow you
to set one up in a mater of minites.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1