Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reading inputs separated by asterisk

    Hello, I have to write a program that will recieve input like so

    jobname
    integer integer integer
    integer integer integer
    *
    jobname
    integer integer integer
    integer integer integer
    integer integer integer
    *
    jobname
    integer integer integer
    integer integer integer
    integer integer integer
    *

    and so on. i have to figure out a way so that it can intake each portion of code separated by an asterisk, do a function on it, and then continue to the next portion. can anyone help?

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    What language are you writing this in? What do you have so far?
    OracleGuy

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    And how are you receiving this input? Reading in a file? Typed in?
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Tags for this Thread

    Posting Permissions

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