Jump to content

  • Log In with Google      Sign In   
  • Create Account


Help needed to know which C++ API to use for non-game windows application


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Meerul264   Members   -  Reputation: 130

Like
0Likes
Like

Posted 06 January 2013 - 05:02 AM

First let me tell you what my objective is. I want to create a window application that doesn't deal much with graphics, just words and something like ("show spoiler") button, perhaps include some pdf files in the application.

I want to make an application that makes practicing Cambridge 'O' level Mathematics Syllabus easier for students. 

 

Here's the basic idea:

  1.  In the application, I want to include a drop down menu so that students can choose on which paper they wish to practice on.
  2. What make this different from just collecting a bunch of pdf files of question paper together is that I want to include a "show answer" button next to each question (This will make make practicing easier, rather than checking the answer from the back of the booklet, or going to another pdf file that include the answer again and again after jumping from one question to another) . I'm planning to add question papers from year 1980 to 2011 for this application.

This is just what I wish to create out of window application. Whether this is possible or not, I have no idea (I just started learning c++ since O level exam finished, now I have nothing to do in this 2 or 3 months holiday but waiting for O level result). I really want to make this program before the result come out though, otherwise I wouldn't have much time on my hand.

 

Thanks!



Sponsor:

#2 ColinDuquesnoy   Members   -  Reputation: 1068

Like
0Likes
Like

Posted 06 January 2013 - 06:11 AM

So you want to write a classical GUI application right?

 

I don't advice you to write it in c++ but to use an high level programming language such as C# (goolge "C# winforms" for more info about writing GUI application in C#)

 

If you really want to stick with C++ you will have to use a GUI libraries such as Qt or wxWidgets.



#3 yckx   Prime Members   -  Reputation: 1163

Like
0Likes
Like

Posted 06 January 2013 - 06:47 AM

You also have the option of using the actual Windows APIs: Win32 and the ATL. I suspect you'll find wxWidgets or Qt easier to learn, but I felt you should know your options. Win32 is a C API and the ATL is a C++ API. wxWidgets and Qt are cross-platform windowing libraries that, on Windows, wrap Win32.



#4 Magnus Westin   Members   -  Reputation: 155

Like
-1Likes
Like

Posted 06 January 2013 - 06:50 AM

I agree with renega, that if you want to create a simple application like that, you are better off with a higher level language. C# is good if you are on windows. That said, if you are doing this also to learn C++, I would use MFC if you don't care about crossplatform functionality. Otherwise use QT.

 

And if you really want to learn MS Windows programming, I would recommend using pure Win32 to do you application. It's going to be very slow to develop the first time you do this though. But understanding how things work on a lower level, will make you a much better programmer in the future, even when you are doing development in languages like C#.



#5 MichaBen   Members   -  Reputation: 481

Like
0Likes
Like

Posted 06 January 2013 - 07:16 AM

I would personally look into Qt, it's a very powerful GUI toolkit and I have yet to see something more powerful. For simple applications like this you don't even need to use a programming language at all, I never tried it myself yet but Qt has tools to create interactive GUIs with a simple scripting language and visual editors, no need for actual coding is needed unless you want to have some more advanced stuff.



#6 EddieV223   Members   -  Reputation: 1386

Like
0Likes
Like

Posted 06 January 2013 - 02:17 PM

Qt, free for non commercial use. You can't go wrong with it.

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#7 yckx   Prime Members   -  Reputation: 1163

Like
0Likes
Like

Posted 06 January 2013 - 03:38 PM

Bah. I meant MFC when I wrote ATL above. I must have been on the good stuff or something.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS