Thread: How do I create a menu??

  1. #1
    Registered User jr2007's Avatar
    Join Date
    Oct 2003
    Posts
    16

    Thumbs up How do I create a menu??

    Hi.

    I just started programming in C++ as a hobby. I wanted to build a basic word processor to get to grips with the language and the IDE i was using - Dev C++.

    How do i create the menu with options like file, edit, copy, paste etc.???

    Thanks for any help
    JR Industries
    www.neono.co.nr

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    If you are referring to menus in a windows program, you need to look into the Win32 API. In that case, it's not as simple as you might think, a thorough understanding of the basics of Windows programming is necessary to get underway...I would suggest you navigate to the Windows board and do some searching.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Create a very simple menu
    By ulillillia in forum Windows Programming
    Replies: 8
    Last Post: 03-22-2009, 08:18 PM
  2. create menu with do while loop advice pls
    By ali_1 in forum C++ Programming
    Replies: 1
    Last Post: 04-23-2006, 09:34 PM
  3. Window menu question
    By axr0284 in forum Windows Programming
    Replies: 0
    Last Post: 03-08-2005, 09:01 AM
  4. Lost BIOS menu options?
    By PJYelton in forum Tech Board
    Replies: 3
    Last Post: 11-14-2004, 08:23 AM
  5. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM