Sign in to follow this  

G.U.I's or whatever click links are called in c++

This topic is 4307 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do you make c++ programs so that you can click on things to GOTO rather then entering a keyword? I'm designing a word scramble game for my Composition teacher, and its fairly good, but i would rather you click on a "hint" button than type in "hint" and hit enter. Please help me!

Share this post


Link to post
Share on other sites
By console program, I mean a program that runs in a console window - like a DOS or command prompt if you're running on Windows - as opposed to a program that runs in a window with controls or whatnot.

Share this post


Link to post
Share on other sites
If you are programming using Windows, you are probably using an IDE - like Visual Studio, Code::Blocks or DevCPP (if you don't, I urge you to get one of these - Visual Studio 8.0 Express is free nad the 2 others are open-source softwares).

If you have these IDE, you'll be able to easily build GUI projects - each of them give the possiblity to create Win32 projects that will enable you to control your GUI.

Be aware that the world of GUI programming is not easy. You'll have to read a lot of stuff before beeing able to use your knowledge. Fortunately, there are a lot of tutorials on the web (search for "Win32 C++ tutorial" on google).

If you are trying to create a linux program, you'll have more choice: the bare X library (you'll control the X client at the very low level - not easy at all) Qt (C++ GUI library), GTK+ (C GUI library), wxWidget (C++ corss platform GUI library) and so on.

The complexity of GUI programs is far beyond the complexity of console-based programs. Be patient :)

HTH,

Share this post


Link to post
Share on other sites

This topic is 4307 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this