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

Username:   Password: 
 RegisterRegister   
 Music Bomb
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Canadian Rob




PostPosted: Wed May 12, 2004 7:04 pm   Post subject: Music Bomb

Hey, Im new to comp sci.ca but not new to turing bein programin with it for about 2 years... well Today the teacher was yellin at me for stuff i dident do so.. I decided to so something so I have a reason to be yelled at! lol Well heres the code

Bascily What it does Enter a time, file name hit enter Runs as a background process cant be ended on Windows ME below Xp and 2000 you can kill it but yea.. Set it like 2 min after the bell goes Wink

code:

var windowID:int:=-1
     var timeOfDay : string:=""
 var timeOfDayInput:string
 var fileName:string
put "Enter a time..HR:MIN:SEC"
get timeOfDayInput
put "Enter file name"
get fileName
Window.Hide (windowID )
        loop
        time ( timeOfDay )
        if timeOfDay = timeOfDayInput then
                Music.PlayFile (fileName)
        end if
        put "Greetings!!  The time is ", timeOfDay
end loop


Tell me what ya think Wink thnx
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Thu May 13, 2004 1:27 pm   Post subject: (No subject)

Very evil Twisted Evil

Alougth this whould make a cool alram clock as well.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Canadian Rob




PostPosted: Thu May 13, 2004 2:31 pm   Post subject: (No subject)

Eh! Thats a good Idea ... lol never thought about that.. I should make it like scuduling and stuff.. Hrmm.. *Thoughts Comming to mind*
the_short1




PostPosted: Sun May 16, 2004 12:11 pm   Post subject: (No subject)

yea very evil indeed...

PM me and ill send yea some cool stuff that i made ** its not fit for compsci... its too evill Twisted Evil.... im gona add ur music bomb to it now 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  [ 4 Posts ]
Jump to:   


Style:  
Search: