Thread: just a simple question i think..

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    34

    just a simple question i think..

    Hi, I'm current trying to code a small address book for my first little program, im just wondering...

    i'm using Bloodhsed Dev C++ for the compiler, how do u add buttons that you can click?

    cuz all the tutorials examles open a small black window with grey writing... not a proper interface kind of layout if you know what i mean.

    i just want the simple buttons, Add name, Edit name etc...

    let me know please if you can..

    Psy.

  2. #2
    Registered User
    Join Date
    Apr 2005
    Posts
    42
    What you are talking about is called a GUI and it stands for graphical user interface. There are many ways to create an interface, you can use the Win32 API (hard) or a widget toolkit, e.g. wxWidgets. However, it is not a trivial task and requires that you know a fair amount about the language first.
    For your first few applications you should stick to just using 'the dos box' (I know that it is technically not correct) as understand how it all works under the hood, then once you are confident then you can start to look into a widget toolkit to have a go with.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    GUI is pronounced GOOEY.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question regarding variables
    By Flakster in forum C++ Programming
    Replies: 10
    Last Post: 05-18-2005, 08:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM