Thread: I fired up 'dev c++ and codeblocks', expecting...?

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    31

    I fired up 'dev c++ and codeblocks', expecting...?

    Greetings,
    I fired up 'dev c++ and codeblocks'
    expecting to to see dragNdrop visual controls, like in vcExpress.
    Am i mistaken, aren't 'dev c++ and codeblocks' Gui Designers?
    If 'yes Gui Designers' how can i get it going?
    Thanks...Vernon
    Win7x64, HotBasic, 'Beginning C programming', 'Arduino Uno R3'.
    "All things in moderation, except for love and forgiveness"... www.vmars316.com

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    I'm not sure why you think that they are layout editors.

    Even if they were, it would not be compatible with what "Microsoft Visual C++" does.

    Soma

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    31
    Is there a GuiBuilder that can work with either.
    I now notice that in codeblocks wxSmith is a GuiBuilder.
    How about GTK and or Glade,
    can these run with either?
    Anyone?
    Thanks...vm
    Win7x64, HotBasic, 'Beginning C programming', 'Arduino Uno R3'.
    "All things in moderation, except for love and forgiveness"... www.vmars316.com

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I don't know of any "GTK" layout editor that works under "Windows".

    You can try running a "GNU/Linux" installation under a virtual machine so you can see if the files "Glade" makes will work with code compiled for "Windows".

    Actually, you should just search around the internet for that. If it can be done somebody has done it.

    Soma

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    31
    The GTK+ Project The GTK+ Project
    GTK+ is cross-platform and boasts an easy to use API, speeding up your development time. Take a look at the screenshots to see a number of platforms GTK+ ...
    ...
    Glade Interface Designer - Wikipedia, the free encyclopedia
    en.wikipedia.org/wiki/ Glade_Interface_DesignerOperating system · Cross-platform ... Glade Interface Designer is a graphical user interface builder for GTK+, with additional components for GNOME. In its third ...
    History and development - GtkBuilder - Code sketching - See also
    Win7x64, HotBasic, 'Beginning C programming', 'Arduino Uno R3'.
    "All things in moderation, except for love and forgiveness"... www.vmars316.com

  6. #6
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    Posts
    435
    I wouldn't take that as read - cross-platform just means it can theoretically run, not that you'd want to do it. You'd probably have to have Cygwin, some X-Windows server, and all sorts installed to make it work, though I might be wrong and there be a Windows binary floating around somewhere.

    Just take it as read: There is no "simple" GUI designer in any of the C/C++ IDE's that you're likely to find and download. There's loads about, but they either a) cost a fortune or b) do a crap job that you could do better yourself.

    The point of programming in C/C++ is to make things as low-level as possible. Most people who program in it want to write their own GUI's not have some horrible VB-style-knock-up that only works on one platform and doesn't allow much customisation.

    If you want a form designer, go find one. If you want a widget library, go find one. If you want an IDE, go find one. If you want a compiler/linker, go find one. Finding something that has all 4 isn't going to really happen, and certainly not for free.

    What you downloaded was an IDE and compiler/linker. If you want to just drag-drop design a GUI, you need what was called a form designer in my day and is probably just a GUI designer now. And then you'll need to do a ton of work to actually load that up in your program when you're finished and make things happen when you actually click anything on them (which is the actual programming part).

    QT is a cross-platform widget-library that used to have QT Creator, and that still seems to be around, but be warned - you are NOT going to be able to just drag-drop and then type in some simple code to make it work. If you want that, stick with Visual Basic / C++ forever.

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

  7. #7
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Qt Creator has a very good GUI designer that is very much a drag and drop designer, if you want to add a handler for say when a button is clicked, that is 2 or 3 mouse clicks away.

    Actually in Qt Creator you can create a "Qt Gui Application" project, and with a couple of mouseclicks you have a window up and running and a drag and drop designer that is very good. (And it is cross-platform)

    Now if you want windows only applications, it is my opinion that C# is the name of the game when it comes to GUI applications, which coincidentally also has a very user friendly GUI designer in Visual C# Express (which is also free).

  8. #8
    Registered User
    Join Date
    Jan 2010
    Posts
    31
    Oops, i am not sure if my last post go sent or not.
    Anyways, Thanks Shakti,
    But i really want a "C" Gui Designer.
    C++ is too verbose for me.
    Win7x64, HotBasic, 'Beginning C programming', 'Arduino Uno R3'.
    "All things in moderation, except for love and forgiveness"... www.vmars316.com

  9. #9
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    For C and Windows only I have heard good things about Pelles C so you might want to give that a shot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++: Expecting ; where it shouldn't be
    By GlitchGuy2 in forum Game Programming
    Replies: 3
    Last Post: 05-20-2009, 04:18 PM
  2. Should input be fired as events?
    By cboard_member in forum Game Programming
    Replies: 5
    Last Post: 04-11-2007, 07:48 AM
  3. Parse Error, expecting `SEP'
    By Undeadenemy in forum C Programming
    Replies: 14
    Last Post: 05-13-2003, 02:32 PM
  4. Are you Expecting...
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 03-01-2003, 05:11 AM
  5. Found 'if' expecting ')'
    By seby24 in forum C Programming
    Replies: 5
    Last Post: 11-19-2002, 07:22 AM

Tags for this Thread