Thread: C++ gui

  1. #1
    Registered User
    Join Date
    Oct 2013
    Location
    Hellas
    Posts
    70

    C++ gui

    Why should someone try to make a GUI in c++ rather than visual basic (forms application)???
    Isn't visual basic drag and drop better and easier?

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,176
    If you wanted to create a magnificent painting, would you use fine paint or a crayon?

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    San Jose
    Posts
    2,632
    Your last post was...
    What are the advantages and disadvantages on those 2 languages? Visual Basic as I have seen is much more simpler, so why someone should learn C++?
    Smells like trolling to me..

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    34,237
    Both threads moved to the less serious part of the board.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Angola
    Posts
    8,186
    Quote Originally Posted by Salem View Post
    Both threads moved to the less serious part of the board.
    Which means I can speak now.

    Quote Originally Posted by Innos View Post
    Why should someone try to make a GUI in c++ rather than visual basic (forms application)???
    All things being equal (same knowledge in both languages, the problem domain being answered by both languages, etc) it seems counterproductive to do it in C++ for the simple reason it would take more time to achieve the same result. Meaning VB.Net is a better solution for its Rapid Application Development approach to GUI programming.

    But things are rarely leveled. It's just that you may be better at a language than another, or your application may impose technical challenges that Visual Basic simpler semantics will force you into ugly and hard to maintain code. Or it may just happen that the environment where your application is going to run isn't compatible with .Net, or it may just happen that you need to port your application to other operating systems or architectures. Or it may just happen that you simply dislike the Visual Basic syntax the same one may dislike a certain brand of hammers over another. It may also happen that your development team, your company experience or your development environment doesn't have .Net development as a possibility.

    Developing an application is equal parts being a slave and having a choice. But, whatever language you end up with, you get the results you want if...you...are...a...good...programmer.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    Registered User
    Join Date
    Oct 2013
    Location
    Hellas
    Posts
    70
    Thanks Mario and Matticus for the replies. I am a newbie and I try to clean up some thoughts, so that would do.

  7. #7
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,116
    Quote Originally Posted by Innos View Post
    Why should someone try to make a GUI in c++ rather than visual basic (forms application)???
    They shouldn't. I always make my GUI interface using Visual Basic to track hacker's IP addresses.
    I just want to use my computer in a productive manner, not learn how to use it. Elysia
    A year spent in artificial intelligence is enough to make one believe in God. Alan Jay Perlis

  8. #8
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    556
    Quote Originally Posted by Yarin View Post
    They shouldn't. I always make my GUI interface using Visual Basic to track hacker's IP addresses.
    So, are you with these guys?
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

Popular pages Recent additions subscribe to a feed