• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

GUI for C++

 
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I use Visual Studio 2013 with Windows, and I want to ask what is the easiest way to write C++ programs with GUI for Windows.
I tried to look for information on the web, and I was flooded with information.
I will be glad if you can also provide a book or a website that teaches the technique you recommend on.

Thanks,
 
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May I ask what type[s] of application[s] are you targeting?
 
Josh Abraham
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sure.

I just want to study how to write programs with GUI. What I'm planning is simple GUI of Windows such as message windows, input windows, tables etc..

 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case you can probably check out this book as a starting point...
 
Josh Abraham
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what technique does this book teach?
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May I clarify what is meant by technique in your context?
 
Josh Abraham
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tk and MFC, for example, are techniques.

Off topic: when creating GUI for Java, does it matter for what is the OS the program should run on?
I know that Java runs on virtual machine, so will I be right if I say that programming the GUI can be done in one way, and it'll be good for all platforms?
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MFC is explained
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Josh Abraham wrote:Off topic: when creating GUI for Java, does it matter for what is the OS the program should run on?
I know that Java runs on virtual machine, so will I be right if I say that programming the GUI can be done in one way, and it'll be good for all platforms?



The Java platform allows you to write an application once and run it anywhere... Therefore it doesn't matter what type of application you write, whether it be gui, multimedia, networking, etc. it will run between platforms without any modifications to the source...
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can probably send me another communication contact where we can collaborate further on the topic...
 
Josh Abraham
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see that this book teaches MFC, and MFC is not included in the free Express version of Visual Studio.
Is there a way to create GUI with C++ with a free tool?
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rico Felix wrote:You can probably send me another communication contact where we can collaborate further on the topic...



Please UseTheForumNotEmail
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Bear, I apologize for breaking that rule... I wanted to share some esoteric information with the OP concerning his matter...
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Josh Abraham wrote:I see that this book teaches MFC, and MFC is not included in the free Express version of Visual Studio.
Is there a way to create GUI with C++ with a free tool?



Suggestions that come to mind is to use a library...

Here is a list of a few:
JUCE
Qt
CEGUI
wxWidgets

Each site will have documentation explaining stuff...
 
Bartender
Posts: 1386
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a doubt: is MFC still supported by Microsoft? I suppose that yes, it is, but I'm in doubt if MFC is still considerated a first-class citizen. Having .NET as a pervasive framework, wouldn't it be better to uses its rich set of GUI components, in Visual C++ .NET studio ?
reply
    Bookmark Topic Watch Topic
  • New Topic