Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 yay movie trivia
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
child_of_bodom




PostPosted: Mon Mar 22, 2004 10:47 pm   Post subject: yay movie trivia

This is a project I did for school... movie trivia. fun fun. This is my frist post by the way... yeah.


Movie Trivia.zip
 Description:

Download
 Filename:  Movie Trivia.zip
 Filesize:  192.7 KB
 Downloaded:  236 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Mon Mar 22, 2004 10:50 pm   Post subject: (No subject)

Um... looks good, except I didn't run it, cause I didn't wanna change all the picture paths and stuff..., don't think you need H:\\ cause, as long as they are in the same folder, it will work.

[EDIT] ok I got bored and changed all the paths but this error occured:
assert condition is false on line 26
code:

    assert file2 > 0

Im only in grade 10, and haven't done assert... dunno what it means...
child_of_bodom




PostPosted: Mon Mar 22, 2004 11:20 pm   Post subject: (No subject)

Okay i fixed it. I forgot to put one of the files in the zip... *smacks self in head* it's there now... at least I hope it is. And I took all the h://'s out... It should work now. Shocked
Tony




PostPosted: Tue Mar 23, 2004 12:45 am   Post subject: (No subject)

nicely done. Very Happy I'm just glad that you've used a textfile for questions instead of hardcoding that in... having picture paths in file as well could have improved the code.

But I'm just glad its not one of those 5000 line trivia game made up of endless case statements Laughing +10Bits

btw - i got a highscore of 50% without looking at the source file Wink
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
shorthair




PostPosted: Thu Mar 25, 2004 6:15 am   Post subject: (No subject)

Well this isnt something people commonly do , everyone seems to write 1500 lines of questions and literally 4 0lines of processing code , i like how htey come from a file that getting advanced , its a bg step up from how a beginner would do it , well done + bits
child_of_bodom




PostPosted: Thu Mar 25, 2004 9:50 pm   Post subject: (No subject)

thanks Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: