Sputnik Music Forums

Sputnik Music Forums (http://www.sputnikmusic.com/forums/index.php)
-   History (http://www.sputnikmusic.com/forums/forumdisplay.php?f=136)
-   -   Casual Compendium (http://www.sputnikmusic.com/forums/showthread.php?t=268077)

ElKapitan 05-11-2005 08:30 AM

fraid not, i tried to learn ages ago but i soon gave up when i got my guitar :D

sorry though

PaulR 05-11-2005 08:31 AM

Hahah, school. I finished at 12:30 today.

But no. I have no idea about programming. Sorry.

Spaceman Spiff 05-11-2005 08:32 AM

Crap, I really need some help with it.
I just started learning it the other day, but it's pretty freakin' hard.

bassi3 05-11-2005 08:32 AM

[QUOTE=Spaceman Spiff]Hey people, I'm at school.
Is anyone here good at programming?
Java, in particular.[/QUOTE]

What doya wanna know??


/me studied computers before going to conservatory... ;)
/me is also still in school

ElKapitan 05-11-2005 08:33 AM

yeah, i gave up really quickly. i thought "how hard can this be?" hah!

Spaceman Spiff 05-11-2005 08:36 AM

[QUOTE=bassi3]What doya wanna know??


/me studied computers before going to conservatory... ;)
/me is also still in school[/QUOTE]
Cool. :thumb:


I need to write a program in java that reads a string and tells you whether or not it is a palindrome.
Basically, I have no idea what I'm doing.

bassi3 05-11-2005 08:38 AM

what's a palindrome??
I think that's a prerequiste to write the program...

Spaceman Spiff 05-11-2005 08:39 AM

A palindrome is a word written the same forwards and backwards.
As in:
racecar
12321

They are the same both ways.

Thunder Fingers 05-11-2005 08:41 AM

elkaptain: yes, i believe she missed me :p i love her...:D

bassi3 05-11-2005 08:50 AM

OK... basically this should be the steps, Just check the API for the real commands... don' t know m by head

1) for (int i=0, i < string.length, i++) {
char[i] = takechar(string, i);
}

2) string2 = ""
for (int i=char.length, i >= 0, i--) {
string_2 += char[i];
}

3) if (string = string2) {
palindrome found code
} else {
palindrome not found code
}


Good luck! This should be the basic thinking, which you should be able to translate to Java.
I'll be back in like 5 minutes for more questions...

Ronald

ElKapitan 05-11-2005 08:51 AM

[QUOTE=Eddie-the-Trooper]elkaptain: yes, i believe she missed me :p i love her...:D[/QUOTE]
:lol:

Spaceman Spiff 05-11-2005 08:52 AM

Awesome, I will try it when I get home, which will be very shortly.
If I need more help, I will ask.

Thank you!

Thunder Fingers 05-11-2005 08:53 AM

[QUOTE=ElKapitan]:lol:[/QUOTE]

you are just jealus becouse you and your bass dont have the same relationship as me and Geddina! :naughty:

bassi3 05-11-2005 09:01 AM

Yo Spiff... just thought it' s easier tis way:

for (i=string.length, i>=0, i--) {
string2 += string.CharAt(i);
}

if (string=string2) then
found code
else
not found code

just check the API for the correct syntaxis...


Ronald

ElKapitan 05-11-2005 09:06 AM

[QUOTE=Eddie-the-Trooper]you are just jealus becouse you and your bass dont have the same relationship as me and Geddina! :naughty:[/QUOTE]
true, i have felt for a long time now that my bass wants to have an afair with someone with talent

wicked_child 05-11-2005 09:21 AM

*pats* you'll make your relationship work out. a few hammer-ons and pull-offs is all she needs.

Spaceman Spiff 05-11-2005 09:36 AM

bassi3/Ronald, if I sent you the program would be able to help more?
I'm not trying to get you to do all my school work, it's just that I'm a beginner and need some help. :thumb:

Thunder Fingers 05-11-2005 09:41 AM

[QUOTE=ElKapitan]true, i have felt for a long time now that my bass wants to have an afair with someone with talent[/QUOTE]

i bet you realy have talent....

Janelectro 05-11-2005 10:03 AM

^^^i second that... if there is somebody without talent here at the moment, it's me... 'm currently stuck in one of those nothing goes forward phases :upset:

Thunder Fingers 05-11-2005 10:05 AM

you probaly have talent to.. everybody have talent for something, an everyone get stuck in these ruts...

bassi3 05-11-2005 10:08 AM

[QUOTE=Spaceman Spiff]bassi3/Ronald, if I sent you the program would be able to help more?
I'm not trying to get you to do all my school work, it's just that I'm a beginner and need some help. :thumb:[/QUOTE]

Probably yes, don't know which program (coffeecup or something like that??) you're running, but I should come a long way...
I'm now still @ school, but I'm leaving to rehearsel in 5 minutes or so, and I won't be home till like midnight (Dutch time). So I don't know when yer assignment is due, but if that's OK with you, you can mail the code and the assignment to [email]ronald@feanor.nl[/email]

I'm running linux @ home, so it's best to send plain code (Just save it as a .js file or so).

Cheers!
See y'all tonight!

Ronald

fatbandit 05-11-2005 10:09 AM

Everyone except me ;) I really don't feel talented. I feel average. Especially for how long I've been playing. I don't need to be better for what I do at the moment, but I want to be, and I can never write anything...

black_star 05-11-2005 10:11 AM

Hello again casual :wave:

yeah, me too paul, i don't feel like talking to non-bass players right now :lol:

black_star 05-11-2005 10:12 AM

And in news, i now have a tad bit of speed under my name. from 64 kbps, now it's 256 kbps.

More speed = more posts = more spam ! :naughty:

fatbandit 05-11-2005 10:14 AM

Psh. My levels of spam are above yours Nikhil.

black_star 05-11-2005 10:16 AM

[QUOTE=ElKapitan]hey Black Star[/QUOTE]

:wave:

black_star 05-11-2005 10:16 AM

[QUOTE=fatbandit]Psh. My levels of spam are above yours Nikhil.[/QUOTE]

i will leave you in a pile of dust chris ! :evil:

black_star 05-11-2005 10:17 AM

two more days and i will be a 'member' :thumb:

fatbandit 05-11-2005 10:17 AM

Just you wait. I already have a headstart.

Gackt 05-11-2005 10:18 AM

Hey guyz

black_star 05-11-2005 10:19 AM

:naughty: Hello G-man

fatbandit 05-11-2005 10:19 AM

'Aight G-Man.

black_star 05-11-2005 10:22 AM

i learnt 'funky chicken' by jaco today.
Can it get anymore groovy staying so easy at the same time?

- No!

Anybody know any more songs like that one? grooovy

bassi3 05-11-2005 10:23 AM

Guys I'm off... I'm going to rehearse...
I'll be back at around midnight (Dutch time [GMT+1])...

See y'all then!

fatbandit 05-11-2005 10:24 AM

I'm f[b]u[/b]cking starving. I might make some soup.

black_star 05-11-2005 10:25 AM

Bye bassi3

well, anybody know how far the bass forum book has progressed?

i was just wondering, it will make a hell of a book if the guitar forum decided to do that :lol:

fatbandit 05-11-2005 10:26 AM

G'bye Ronaldo!

And I've never heard Funky Chicken... However, go listen to Rapper's Delight by the Sugarhill Gang. Super funky and super simple.

fatbandit 05-11-2005 10:27 AM

I never checked out the book thread!

Thunder Fingers 05-11-2005 10:29 AM

^i Never thoughti would say this about Rap, But i love that bassline :p

black_star 05-11-2005 10:30 AM

i searched it on my p2p, why is it a 12mb song?


All times are GMT -6. The time now is 06:30 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.