Name: Andrew
Gender: Male
In-Game-Name: Thugnificent
Age:20, 21 in a couple months
Time Zone: GMT-5 (EST)
Ways to contact you.. (Include facebook if you want pals ): midol.150@hotmail.com (MSN), pm me for Facebook
What can you code? Java, C++
Experience (Have you ever coded for other servers..)? A long time ago, when servers were still v55 and v62
Examples of work (Tell us what you can do, professionally, or show pics)?
This was part of a blackjack program that I had to make for one of my classes.
This was for a java program that looked through a list of movie titles, and had to find certain movies, given keywords.
Do you agree to help with any task assigned? As long as its a reasonable task within a reasonable time frame, of course.
Are you active? I just joined, but I plan to be very active.
Talk about yourself: I'm a 20-year old korean college student. My favorite color is blue, and my favorite animal is the wolf.
Gender: Male
In-Game-Name: Thugnificent
Age:20, 21 in a couple months
Time Zone: GMT-5 (EST)
Ways to contact you.. (Include facebook if you want pals ): midol.150@hotmail.com (MSN), pm me for Facebook
What can you code? Java, C++
Experience (Have you ever coded for other servers..)? A long time ago, when servers were still v55 and v62
Examples of work (Tell us what you can do, professionally, or show pics)?
This was part of a blackjack program that I had to make for one of my classes.
- Code:
void Deck::shuffle(int n) {
Deck left, right;
int LeftNum = n;
int RightNum = DeckSize - n;
int count = 0; // Deck counter
for(; count < n; count++) {
left.deck[count] = deck[count];
}
for(count = n; count < DeckSize; count++) {
right.deck[count-n] = deck[count];
}
count = 0; // reset deck counter
while(LeftNum > 0 && RightNum > 0) {
deck[count] = right.deal();
deck[count+1] = left.deal();
RightNum--; LeftNum--;
count+=2;
}
for(; count < DeckSize; count++) {
if(LeftNum==0){ //if left deck is empty
deck[count] = right.deal();
} //fill in the the deck with right deck
else { //if right deck is empty
deck[count] = left.deal(); //fill in rest of deck with left deck
}
}
next = 0;
}
This was for a java program that looked through a list of movie titles, and had to find certain movies, given keywords.
- Code:
public int findMoviesByKeyword(String keyword, String outfile) throws FileNotFoundException{
int count = 0;
int keyLength = keyword.length();
String tempTitle;
Movie hold;
PrintWriter outFile = new PrintWriter(new File(outfile));
for(int i = 0; i < movies.size(); i++){
hold = movies.get(i);
tempTitle = hold.getTitle();
for(int j = 0; j <= tempTitle.length()-keyLength; j++){
if(tempTitle.substring(j, j+keyLength).equalsIgnoreCase(keyword)){
count++;
outFile.println(hold.getTitle() + " " + hold.getYear());
break;
}
}
}
outFile.close();
return count;
}
Do you agree to help with any task assigned? As long as its a reasonable task within a reasonable time frame, of course.
Are you active? I just joined, but I plan to be very active.
Talk about yourself: I'm a 20-year old korean college student. My favorite color is blue, and my favorite animal is the wolf.