Results 1 to 4 of 4

Thread: C++ button code?

  1. #1

    C++ button code?

    I am working on a calculator, and I need to know: is there any code in C++ for a button?
    http://www.planet-smilies.de/teufel/teufel_017.gif
    My name is Draxx...you simians may refer to me merely as \'sir\' for a less syllable-intensive workout.

  2. #2
    it's qiute confusing speciefy the compiler.... if tc++ u have to design the code yourself.
    smoking is really bad for ur PC....

  3. #3
    Senior Member
    Join Date
    Feb 2004
    Posts
    270
    I think lokeshdb_ms anwser although partially correct is a bit confusing.

    draxx, im going to explain this on the basis of u knowing zit on windows programming(sorry if I insult you this way)

    I think you want to make a calc.exe like program. This means you need to make a program with a lot of buttons and stuff. This also means you need to make a new window assign properties and the likes.

    C or C++ as a bare system has no functionality to code GUI windows apps it is meant for creating console programs. Micrsoft has Visual C++ with all the stuff build right in to the thing to enable you to write nice windows aps. But other compilers are yust as able thanks to the correct libraries and header files. (if you are still looking try dev-cpp as a dev env)

    There are tons of ways to create windows aps. Microsoft has released a set of templates that can be used and stuff. Or you can do it yourself.

    Now before im tempted to go and write a small tutorial on this subject give this a look over. http://www.winprog.org/tutorial/

    hope that clears enough up.(yes windows programming is a bit of a drag at first)
    Since the beginning of time, Man has searched for the answers to the big questions: \'How did we get here?\' \'Is there life after death?\' \'Are we alone?\' But today, in this very theatre, you will be asked to answer the biggest question of them all...WHO LIVES IN A PINEAPPLE UNDER THE SEA?

  4. #4
    I have Borland's C++ BuilderX...but I'll look at those links anyways...
    http://www.planet-smilies.de/teufel/teufel_017.gif
    My name is Draxx...you simians may refer to me merely as \'sir\' for a less syllable-intensive workout.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •