Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I apologize to ask a simple question by not being pro-CS.
I'm a dedicated autodidactic programming learner, and I'm trying to build some GUI application but I'm still confused about the basic process to link engines ( core code ) with graphics resources which are the front end.

Can you indicate me some tutorial, book...that shows this?

Final note: I'm using CodeBlocks trying to do something for any platform. i understand that Visual Studio IDE might have a lot of tools but it'd bound the app to windows only.

Thanks in advance

What I have tried:

Several websites, Tutorial videos
Posted
Updated 21-Jun-18 23:59pm

At first you have to select a GUI framework: List of platform-independent GUI libraries - Wikipedia[^].

All of those provide documention with tutorials and example code. So you might try out some of them before doing the final decision.

Because you are using CodeBlocks, you should have at least a look at wxWidgets: WxWindowsQuickRef - CodeBlocks[^].

Qt has it's own QtCreator IDE available for multiple platforms. While you can also build Qt applications with CodeBlocks, the QtCreator includes design tools which makes designing the GUI and connecting to code (e.g. events like button clicks) much simpler.
 
Share this answer
 
Comments
Member 13034100 22-Jun-18 17:49pm    
Thanks for your suggestions but I understand that QT and WxWidgets are for C++
Jochen Arndt 22-Jun-18 18:08pm    
Sorry, I missed that.

But then you have very few options: GTK+, Tk, IUP, and Elementary
See https://en.wikipedia.org/wiki/List_of_widget_toolkits

C is a good language for low level tasks but not really useful for complex GUI and graphics.

If you have at least basic knowledge of C++, I recommend to use that. You can still write C and use C++ features only for accessing the GUI library. However, Qt would be then no choice because using it requires good C++ knowledge.
Member 13034100 22-Jun-18 18:10pm    
Thanks for the update and suggestions
If you want to create an application for any platform then your best bet would be Java: The Java™ Tutorials[^]. If you just want it for Windows then Visual Studio is the best IDE, and you can learn Windows programming from EFNet #Winprog[^] and Win32 Programming - FunctionX[^].
 
Share this answer
 
Comments
Member 13034100 21-Jun-18 13:34pm    
Thanks Richard for your suggestions but it's not quite what I'm looking for. I can't stand java or any other OOP language. And I wouldn't like to develop my App for windows only. What I look for is a simple tutorial showing how to "integrate" or link my core engine with graphics code for being shown in the display.

I understand that you must define your graphics library first: Windows.h, Graphics.h, Gtk...etc then you code and link, but How?
Richard MacCutchan 22-Jun-18 2:40am    
Go and look at the second and third links I posted above. They show you how to write a Windows program in C.
Thanks to all for all your great suggestions but I think that finally I came across with I was looking for: SLD2, a powerful library that allows you to manage not only the all graphic features but also, mouse, keyboard, sounds...etc. Now I'going to learn it from tutorials, books...etc.

Cheers!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900