Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Small program help please

    Hi there, basically i have to create a simple program with will continually read input from the user until they enter a blank line

    i know how to read in certain input but not sure how to get it continually in a loop

    any help would be great

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    NH, USA
    asking homework questions is specifically against the forum rules

    if you have a specific question about a programming language, then please post it and we will be happy to answer

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    This sounds a lot like a homework question, which are not allowed as per the forum rules:

    You should look into infinite loops. You can then use flow control statements to break out of the loop without going through the loop condition.

  4. $spacer_open

Posting Permissions

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