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

Username:   Password: 
 RegisterRegister   
 Shell Program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
xXInsanityXx




PostPosted: Sun Jun 11, 2006 11:04 pm   Post subject: Shell Program

Hi this is a program that my friend asked to make so that he could refer to

Plz comment, and yes i know it is redundant, any kind of feedback would be appreciated



Coin in the Shell.zip
 Description:
Zip file with contents in it

*note might need winzip to extract
- I Use Alzip :)

Download
 Filename:  Coin in the Shell.zip
 Filesize:  22.65 KB
 Downloaded:  122 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Jimbo 420




PostPosted: Mon Jun 12, 2006 11:03 am   Post subject: Didn't work

i got an error on line 18 saying the picture was not succesfully created:S
upthescale




PostPosted: Mon Jun 12, 2006 3:23 pm   Post subject: (No subject)

ok...

1) Jimbo take the two pics and the code and put it in one folder
2) This shud be in applications not soruce code
3) to ahrd, u shut mak them move slower!
TheOneTrueGod




PostPosted: Mon Jun 12, 2006 4:56 pm   Post subject: (No subject)

upthescale, its in the right section.

You need to add some delays and such in order to let us see the shuffling. Not to mention that I don't think the 'displayed' shuffling matters at all...

The code could be much more efficient. Things like this
code:

for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 - x, 50, picCopy)
        Pic.Draw (pic1, -50 + x, 50, picCopy)
    end for

    for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 + x, 50, picCopy)
        Pic.Draw (pic1, 490 - x, 50, picCopy)
    end for

    for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 - x, 50, picCopy)
        Pic.Draw (pic1, -50 + x, 50, picCopy)
    end for

    for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 + x, 50, picCopy)
        Pic.Draw (pic1, 490 - x, 50, picCopy)
    end for

    for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 - x, 50, picCopy)
        Pic.Draw (pic1, -50 + x, 50, picCopy)
    end for

    for x : 1 .. 280 by 20
        Pic.Draw (pic1, 220 + x, 50, picCopy)
        Pic.Draw (pic1, 490 - x, 50, picCopy)
    end for


make me cry...

Its the same thing 3 times, right? so why not just put a "for q : 1..3" around it?

Look around, this isn't the only instance of stuff like this.
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: