C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 19th, 2009, 11:55 AM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
GUI in Dev C++

What is a good GUI program that is free, good, and works with Dev C++?

Thanks
-Baseballkid14

Reply With Quote
  #2  
Old January 20th, 2009, 12:09 PM
Patrick333 Patrick333 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Posts: 15 Patrick333 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 38 sec
Reputation Power: 0
"gui program" has no meaning.

Reply With Quote
  #3  
Old January 20th, 2009, 12:48 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
Gui library then. :P

Reply With Quote
  #4  
Old January 20th, 2009, 12:52 PM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
Are you talking about a Graphics API such as DirectX and OpenGL? Or something to just make the UI pretty?

Reply With Quote
  #5  
Old January 20th, 2009, 03:15 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I want to make a program outside of the console.

Reply With Quote
  #6  
Old January 20th, 2009, 03:43 PM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
Well then Dev C++ probably wont be your answer. Download Visual studios express and you should be able to do some win32 programming.

Reply With Quote
  #7  
Old January 20th, 2009, 05:18 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I have visual basic c++, is that what your talking about? I cant figure out how to do any programming on that except like XML.

Reply With Quote
  #8  
Old January 20th, 2009, 05:25 PM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
If you mean visual studio C++ then yes you should be able to create a win32 project and go from there.

Reply With Quote
  #9  
Old January 20th, 2009, 05:25 PM
Bobidybob's Avatar
Bobidybob Bobidybob is offline
Contributing Abuser
Click here for more information
 
Join Date: Apr 2007
Location: Starkville, MS
Posts: 336 Bobidybob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 Days 15 h 51 m 40 sec
Reputation Power: 11
Send a message via AIM to Bobidybob
He's talking about Microsoft Visual C++ 2008 Express Edition.

http://www.microsoft.com/express/vc/Default.aspx

edit: the easiest to one to make is the form applications. create project->windows form application
__________________

Reply With Quote
  #10  
Old January 20th, 2009, 06:31 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
Okay, Nevermind I have that program. I am not able to "compile and run" a program I make in it though.

Reply With Quote
  #11  
Old January 21st, 2009, 08:07 AM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
Whys is that? The Express version should be free.

Reply With Quote
  #12  
Old January 21st, 2009, 02:59 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I have express version, it was free.... but I cannot test my program by "compiling and running" it...

Reply With Quote
  #13  
Old January 21st, 2009, 03:02 PM
Bobidybob's Avatar
Bobidybob Bobidybob is offline
Contributing Abuser
Click here for more information
 
Join Date: Apr 2007
Location: Starkville, MS
Posts: 336 Bobidybob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 Days 15 h 51 m 40 sec
Reputation Power: 11
Send a message via AIM to Bobidybob
Debug->Start Without Debugging

Reply With Quote
  #14  
Old January 21st, 2009, 03:48 PM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
Also I believe the shortcut is ctrl + shift b to build and ctrl f5 to run it.

Reply With Quote
  #15  
Old January 22nd, 2009, 07:12 AM
stellaf stellaf is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 1 stellaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 0
I am Stella Fernandis and I am planning for a Oracle Certification course. Can you please help me to find out the best course? Please reply.

Reply With Quote
  #16  
Old February 1st, 2009, 02:53 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I installed FLTK on my computer then ran it. It came up with a screen with all the addons I've tried to install. So I just minimize that and open Dev C++. WHen I click on File -> New -> Project -> GUI -> FLTK it starts out with an example "Hello World" program. So I click "Compile and Run" and it doesn't compile because there is a Resource Error [No Resources]!!!! So then I go back to that screen with all the addons and click on FLTK then install (even though it already shows up). It brings me to the Devcpp folder and asks me to open something. It is left blank and I dont know what to open so I exit out and now I'm here. This works the same for all addons I install. Why? How can I fix it?

Reply With Quote
  #17  
Old February 1st, 2009, 07:03 PM
MaHuJa's Avatar
MaHuJa MaHuJa is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Dec 2007
Posts: 1,177 MaHuJa User rank is Private First Class (20 - 50 Reputation Level)MaHuJa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 21 h 27 m 36 sec
Reputation Power: 12
Send a message via Skype to MaHuJa Send a message via XFire to MaHuJa
Short version, dump dev-cpp - it's not been developed/fixed for a number of years now.

If you don't want to use visual studio express, check www.codeblocks.org

Reply With Quote
  #18  
Old February 1st, 2009, 08:22 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
Visual studios doesn't let me compile and run. It's not an option, or at least I cant see it.

Reply With Quote
  #19  
Old February 2nd, 2009, 04:40 AM
MaHuJa's Avatar
MaHuJa MaHuJa is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Dec 2007
Posts: 1,177 MaHuJa User rank is Private First Class (20 - 50 Reputation Level)MaHuJa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 21 h 27 m 36 sec
Reputation Power: 12
Send a message via Skype to MaHuJa Send a message via XFire to MaHuJa
In the toolbar, there's a build button, and there's a start debugging button. The latter looks like a "play" button (triangle pointing right) as known from various video/music players, and will ask you if you want to build it first if the current build is older than the most recent source edits.

You can also right click the toolbars to customize them.

Reply With Quote
  #20  
Old February 2nd, 2009, 06:13 AM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
Does FLTK work in Visual C++ Express? If not, what is a good free GUI library?

Reply With Quote
  #21  
Old February 2nd, 2009, 06:23 AM
Max Byamukama Max Byamukama is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 3 Max Byamukama User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m
Reputation Power: 0
Quote:
Originally Posted by Baseballkid14
What is a good GUI program that is free, good, and works with Dev C++?

Thanks
-Baseballkid14


Hi. Because DEVC++ is an open-source IDE, most of the packages designed to work for/with it will also be opensource and hence free. Question is, do you really want to use devC++ to make your GUIs or yu just want to build GUIs to run on Win32 platforms? well, either way has an answer:

1. For free RAD, as expected, Microsoft is the way to go. you could download the express editions of Visual Studio ( the latest is 2008) and choose which language to use ( VB, VC++ or VC#). The GUIs you talk about are called WinForms. They soo simple you almost drag and drop everything and simulate individual events on the controls as you develop them...it more or less writes the code for you (of course you write the event handlers yourself but even then, many methods/functions are already tailor made and you dont have to do anything from scratch). However, you will have to install the .Net Framework on every computer you plan to run your applications on.

2. For DEVC++, there are sooo many tools (the real technical word is "libraries") out there that you have to choose only one. The main disadvantage is that each library has its own commands for dealing with a given control (such as a button or listbox) so, if u want to learn ALL of them, you have to put aside sufficient memory in your head!

The best i would recommend are WinGlade and winGTK and probably FLTK(i dont like this last one, it is so code-oriented... you even have to define things like button dimensions yourself!!) they are C/C++ implementations of GUI Builders for DEVC++ and their projects are uptodate(continuous improvement). Please note that you still have to write quite a considerable amount of code to pull off stuff which would have otherwise been done by one-line-code in Visual studio.
You could also check out

thefreecountry.com

i counted 25 such libraries... Good luck.

and oh...i almost forgot, you WILL NEED tutorials...the good news is they are sooo crowded on the Net!!

Reply With Quote
  #22  
Old February 2nd, 2009, 05:05 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I get a compiling error in Visual C++. Okay, so I click start without debugging and it says:

"There were build errors. Would you like to continue and run at the last successful build?"

and I click "Yes"

and it says "Unable to start program.... (then the path of the project). This system cannot find the path specified."

This exact same program compiles fine in Dev C++.

Reply With Quote
  #23  
Old February 3rd, 2009, 03:20 AM
Max Byamukama Max Byamukama is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 3 Max Byamukama User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m
Reputation Power: 0
Send the source code. an error can be anything!

Reply With Quote
  #24  
Old February 3rd, 2009, 05:59 AM
MaHuJa's Avatar
MaHuJa MaHuJa is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Dec 2007
Posts: 1,177 MaHuJa User rank is Private First Class (20 - 50 Reputation Level)MaHuJa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 21 h 27 m 36 sec
Reputation Power: 12
Send a message via Skype to MaHuJa Send a message via XFire to MaHuJa
Quote:
Originally Posted by Baseballkid14
I get a compiling error in Visual C++.


And by withholding the error message (in particular), you're taking away our ability to help.

Quote:
This exact same program compiles fine in Dev C++

There are a number of possible reasons.

- You're relying on a library not properly installed in VC++.
This will typically give a message like
fatal error C1083: Cannot open include file: 'NOSUCHFILE': No such file or directory
or a linker error for an unresolved external

- You're relying on a gcc extension, meaning what you're writing isn't standard C++ and as such cannot be expected to compile elsewhere.

- You made an error that the (old) gcc version you got with devcpp didn't diagnose.

Reply With Quote
  #25  
Old February 3rd, 2009, 06:42 AM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I told you what came up. Those pop up screens In my last post were the error. Here is what it said underneath:

Code:
1>Embedding manifest...
1>mt.exe : general error c10100b1: Failed to load file "..\Debug\Project1.exe". The system cannot find the path specified.
1>Build log was saved at "file://c:\Users\Allie\Documents\Visual Studio 2008\Projects\Project1\Project1\Debug\BuildLog.htm  "
1>Project1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Reply With Quote
  #26  
Old February 3rd, 2009, 02:50 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
I got it to work. I had to write:

#include "stdafx.h"

at the top for it to work. Does anyone know why I have to do this in visual but not in Dev?

Reply With Quote
  #27  
Old February 3rd, 2009, 02:52 PM
C++101 C++101 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 136 C++101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 16 m 6 sec
Reputation Power: 10
Well the sdtfx header is so you can have precompiled headers so it saves you on compiling everything everytime.

Reply With Quote
  #28  
Old February 3rd, 2009, 04:44 PM
Baseballkid14 Baseballkid14 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 48 Baseballkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 3 sec
Reputation Power: 10
My last question, does FLTK come in visual c++ express? What GUI Library does and where is a link?

Thanks
-Baseballkid14

Reply With Quote
  #29  
Old February 5th, 2009, 03:44 AM
Max Byamukama Max Byamukama is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 3 Max Byamukama User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m
Reputation Power: 0
You DONT need FLTK with VC++ express!!!!

Quote:
Originally Posted by Baseballkid14
My last question, does FLTK come in visual c++ express? What GUI Library does and where is a link?

Thanks
-Baseballkid14


brother, You DONT need FLTK with VC++ express!!!! Visual Studio comes with its own (very good) GUI developer....did you read my post above? Just create a new project choose windows forms application

Reply With Quote
  #30  
Old February 5th, 2009, 04:38 AM
MaHuJa's Avatar
MaHuJa MaHuJa is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Dec 2007
Posts: 1,177 MaHuJa User rank is Private First Class (20 - 50 Reputation Level)MaHuJa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 21 h 27 m 36 sec
Reputation Power: 12
Send a message via Skype to MaHuJa Send a message via XFire to MaHuJa
Quote:
Originally Posted by Baseballkid14
I got it to work. I had to write:

#include "stdafx.h"

at the top for it to work. Does anyone know why I have to do this in visual but not in Dev?


It's a part of the "precompiled headers" feature, which you can turn off. Keeping it on, and doing all #include <> (as opposed to #include "") in that file can help on compile times, at least in projects containing a lot of source files.

And I expect you can download and compile the fltk libraries in vc; they probably have instructions for it somewhere. You may even be able to get them precompiled. This goes for most others too, like wxwidgets.

A few microsoft-proprietary gui libraries come built in and ready to use though. The one max rants about, MFC (objectified win32 api), etc.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > GUI in Dev C++


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap