C Board  

Go Back   C Board > Community Boards > Contests Board

Reply
 
LinkBack Thread Tools Display Modes
Old 05-19-2003, 08:06 PM   #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
SMB3Master is offline   Reply With Quote
Old 05-20-2003, 05:30 PM   #2
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,596
hmmmm, try this.

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

     else
           contactEibro( contestIdea );
}
Perspective is online now   Reply With Quote
Old 05-20-2003, 06:57 PM   #3
Registered User
 
Join Date: Nov 2002
Posts: 48
Hehe it's not homework, I don't have a C++ class til next year.
SMB3Master is offline   Reply With Quote
Old 05-20-2003, 07:20 PM   #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 -
Quote:
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.
confuted is offline   Reply With Quote
Old 05-20-2003, 07:50 PM   #5
I lurk
 
Join Date: Aug 2002
Posts: 1,361
Quote:
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)
Eibro is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 08:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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