Read Line function

This is a discussion on Read Line function within the Contests Board forums, part of the Community Boards category; To win you have to create a read line function, that will return the given line of a given file. ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    48

    Exclamation Read Line function

    To win you have to create a read line function, that will return the given line of a given file.

    Example of Use:

    variable = ReadLine("file.txt",2);

    If anyone wants to enter email me at SMB3Master@hotmail.com

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    hmmmm, try this.

    Code:
    void readLine(char* ch, int i)
    {
         if(contestIdea == checkHomework())
               slapSMB3Master( SPIKE_BELT || BIG_CHAIN);
    
         else
               contactEibro( contestIdea );
    }

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    48
    Hehe it's not homework, I don't have a C++ class til next year.

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Eibro hasn't been responding to contest ideas submitted to him...

    Posted by Eibro -
    I'm pretty sure i'm done with this. I can't help but think someone could do a much better job. I simply don't have time to run and judge the contests by myself. It'd be alright if the judging wasn't left up to me, but in previous contests I was the lone judge expected to judge all contests entries.
    next contest?

    Most of the other threads on the board also have suggestions in them...
    Away.

  5. #5
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Originally posted by blackrat364
    Eibro hasn't been responding to contest ideas submitted to him...

    Posted by Eibro -


    next contest?

    Most of the other threads on the board also have suggestions in them...
    Yes, I am infact giving up position as contest master. I emailed Kermi3 about it a few days ago, and hopefully he'll (she'll?) be able to find someone to do a better job than I did. For the record, I did read your suggestions (were you the one that emailed me?) I just never had the time or motivation to start up any more contests (and it didn't seem people were motivated enough to enter anyway)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 04:33 AM
  2. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 01:49 PM
  3. how to read each line in text??
    By rameshs in forum C Programming
    Replies: 2
    Last Post: 12-04-2006, 11:46 AM
  4. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM
  5. Greenhand want help!
    By leereg in forum C Programming
    Replies: 6
    Last Post: 01-29-2002, 06:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21