Thread: Menu

  1. #1
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220

    Menu

    I have done a calculator, and i was triyng to make a menu for it not like
    Code:
    cout<<"Choose what you want to do:\n1.sum\n2.minus\n";
    cin>>x;
    if ( x == 1 ) ;
    .......
    but clicking with the mouse in the option that you want (like a link)
    i donīt know if it is possible, but thank you

  2. #2
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Well I remember some Windows console functions dealing with mouse events, check out msdn. If you're ready, and use Windows, maybe you should try to convert the calculator to a Win32 calculator program.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  3. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  4. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM