Like Tree4Likes
  • 1 Post By manasij7479
  • 1 Post By Mario F.
  • 1 Post By Yarin
  • 1 Post By stevesmithx

C++ gui

This is a discussion on C++ gui within the General Discussions forums, part of the Community Boards category; Why should someone try to make a GUI in c++ rather than visual basic (forms application)??? Isn't visual basic drag ...

  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
    2,197
    If you wanted to create a magnificent painting, would you use fine paint or a crayon?

  3. #3
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    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..
    Salem likes this.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,422
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,403
    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.
    Elysia likes this.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    1,591
    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.
    stevesmithx likes this.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  8. #8
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    493
    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?
    Elkvis likes this.
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21