Thread: How to make menu inaccessable if user already input the data

  1. #1
    Registered User
    Join Date
    Mar 2021
    Posts
    1

    Question How to make menu inaccessable if user already input the data

    So, it's like if the menu were like this:

    1. Login Menu
    2. Item Menu
    3. Buy
    0. Exit

    Let's say the user already log in, I want them not able to access the login menu again unless they exit the menu. I don't know how to make it, I'm still a beginner.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    What does your code look like at the moment.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Validate User input(How to make sure it's not a character)
    By ashley1nonly in forum C Programming
    Replies: 18
    Last Post: 02-28-2016, 10:32 PM
  2. Replies: 6
    Last Post: 09-23-2013, 02:59 AM
  3. Replies: 2
    Last Post: 09-22-2013, 12:53 PM
  4. Replies: 4
    Last Post: 04-03-2008, 09:07 PM
  5. How do I make it wait for user input
    By earth_angel in forum Windows Programming
    Replies: 1
    Last Post: 06-29-2005, 01:34 PM

Tags for this Thread