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)

Spaceman Spiff 05-17-2005 03:55 PM

What does the
flag = false
and
flag = true

mean?

kilian 05-17-2005 03:56 PM

[QUOTE=bassi3]Yeah sorry, was a little Dutch 'entre nous'... (To speak with rush...:))[/QUOTE]

It was!
And it was about the dutch school system and a gig that I have to play nearby :thumb: So nothing to worry about =)

No secret poŽn sites/bass improvements were told :naughty:

bassi3 05-17-2005 04:07 PM

[QUOTE=Spaceman Spiff]What does the
flag = false
and
flag = true

mean?[/QUOTE]

flag is just variable to hold the state of the palindrome.
Because were checking character by character, instread of the complete word, we need a way to remember whether the chars we checked so far were part of a palindrome. That's what flag is used for.

We initially say that flag is false, because we assume there ain't a palindrome, till the opposite is proven. Then we will check both the first and the last letter, when these are the same, we have a palindrome SO FAR. So, we have to change the flag to true.
The flag will stay true, till either the end of the do..while loop, or till a non-matching char is found, in which case the flag will be set to false. Then the break-statement is called, to break us out of the do...while loop, cause the word won't be a palindrome NEway...

All we have to do in the end, is check the flag-state, to know whether we dealt with a palindrome or not...

That's it.

bassi3 05-17-2005 04:19 PM

[QUOTE=Spaceman Spiff]What does the
flag = false
and
flag = true

mean?[/QUOTE]

flag is just variable to hold the state of the palindrome.
Because were checking character by character, instread of the complete word, we need a way to remember whether the chars we checked so far were part of a palindrome. That's what flag is used for.

We initially say that flag is false, because we assume there ain't a palindrome, till the opposite is proven. Then we will check both the first and the last letter, when these are the same, we have a palindrome SO FAR. So, we have to change the flag to true.
The flag will stay true, till either the end of the do..while loop, or till a non-matching char is found, in which case the flag will be set to false. Then the break-statement is called, to break us out of the do...while loop, cause the word won't be a palindrome NEway...

All we have to do in the end, is check the flag-state, to know whether we dealt with a palindrome or not...

That's it.

bassi3 05-17-2005 04:26 PM

[QUOTE=kili]No secret poŽn sites were told :naughty:[/QUOTE]

Yeah, like we would discuss po(r)n-sites... :amaze: :naughty: :p


/edit: with that i mean NEbody discussing that with [U]me[/U]

pukeboy66 05-17-2005 04:55 PM

[QUOTE=kili]wang chung?

Tell me.. wtf is that :lol:[/QUOTE]

honestly i have no idea

but come on.........wang-chung that just screams bad a$$

ScorpSath 05-17-2005 04:55 PM

So Ct, who hears is hungry?

pukeboy66 05-17-2005 04:58 PM

[QUOTE=ScorpSath]So Ct, who hears is hungry?[/QUOTE]
*raises hand*

bassi3 05-17-2005 05:11 PM

Peoples, I'm off, i have to get the train to school in like 7 hours, and i still need to get some sleep...

So Kili, sorry, but our Dutch influence is upon your shoulders for now...


Cheers, and c y'all 2morrow!

BTW. left shoe, thnx! There are some terrific songs made by those bands!

pukeboy66 05-17-2005 05:27 PM

[QUOTE=bassi3]Peoples, I'm off, i have to get the train to school in like 7 hours, and i still need to get some sleep...

So Kili, sorry, but our Dutch influence is upon your shoulders for now...


Cheers, and c y'all 2morrow!

BTW. left shoe, thnx! There are some terrific songs made by those bands![/QUOTE]
:wave:

Radiobass81 05-17-2005 05:33 PM

Hey.

Jamie 05-17-2005 05:36 PM

Im off to bed now, ive got my ICT exam tomorrow! yey...

Farewell




(I emailed that video of the real bad singer singing slipknot to Ebaums world :lol: )

kilian 05-17-2005 05:37 PM

[QUOTE=bassi3]So Kili, sorry, but our Dutch influence is upon your shoulders for now...
[/QUOTE]

I am also out of here :D
So the Dutch people are leaving.. Don't make a mess of the place ;)


:wave:

pukeboy66 05-17-2005 05:41 PM

[QUOTE=kili]I am also out of here :D
So the Dutch people are leaving.. Don't make a mess of the place ;)


:wave:[/QUOTE]

so long kili and remember.........wang-chung

Spaceman Spiff 05-17-2005 06:43 PM

Would anyone happen to have an mp3 of School Days they'd be willing to send me/upload somewhere for downloading?

PaulSimonon 05-17-2005 06:57 PM

So... Guess who just bought tickets to the Stones tour?

Spaceman Spiff 05-17-2005 07:01 PM

Meh.
I'm not a big enough fan to go see them live.

Radiobass81 05-17-2005 07:01 PM

^^ Nice.

They are even coming here!

e p 05-17-2005 07:03 PM

[QUOTE=Spaceman Spiff]Would anyone happen to have an mp3 of School Days they'd be willing to send me/upload somewhere for downloading?[/QUOTE]

[URL=http://s25.yousendit.com/d.aspx?id=3Q073AMQ8CCXC31P9D8X88C6W5]yes[/URL]

Spaceman Spiff 05-17-2005 07:06 PM

Why thank you, thank you very much.

e p 05-17-2005 07:06 PM

no problem man

Radiobass81 05-17-2005 07:16 PM

Sounds cool.

*looks for it's sheet music*

Spaceman Spiff 05-17-2005 07:18 PM

Upon listening to it, that really is an awesome song. :thumb:

Spaceman Spiff 05-17-2005 09:11 PM

Do the bump.

Noushi 05-17-2005 09:25 PM

I tried to download this a while back and only got a 30 second loop... I gotta say I was missing out... :lol:

Convectuoso 05-17-2005 11:52 PM

Feedback on USA muffs please?

Jim Hull 05-18-2005 04:12 AM

[QUOTE=ROM]whats a dissertation ??[/QUOTE]

Bit late on the reply ROM but its a thesis... like an essay.

Jim Hull 05-18-2005 04:13 AM

[QUOTE=President Dead]Feedback on USA muffs please?[/QUOTE]

They're great. I went to america last year and if you are English... you're golden! :lol:

fatbandit 05-18-2005 07:16 AM

Hohoho. Ice cream paste is amazing. Anyone else make it? When you get a bowl of ice cream (with a sauce of your choice, if you so desire), then wait for it to melt a little, then squish it all up until its like the consistency of a Mr Whippy ^_^

Thunder Fingers 05-18-2005 07:18 AM

:amaze:

Thunder Fingers 05-18-2005 07:25 AM

i think i need to find meself a pop rock band..:lol: listening to tracey chapman just gives me ideas all the time :p

fatbandit 05-18-2005 08:19 AM

Martin! Killed the threaaaaaaaaad! :D


































...Again :mad:

Thunder Fingers 05-18-2005 08:23 AM

its a hobby of mine.. cause you guys hate me, so i have to...

Spaceman Spiff 05-18-2005 08:52 AM

Give me YYZ or give me death!



:D

Thunder Fingers 05-18-2005 08:56 AM

^dance of death? I have to learn to play it First :p (sorry, i have been WAY to lazy Lately.... Give me a week.. or 2... its rather much stuff going on with my bands now...)

Spaceman Spiff 05-18-2005 09:22 AM

Okay.
It's just that I thought you already knew the whole thing. I will wait.


What stuff is happening with the bands?

jaco jr 05-18-2005 09:36 AM

afternoon MX :wave:
i just learnt most of the ytse jam by dream theater - god myung rocks

Thunder Fingers 05-18-2005 09:40 AM

[QUOTE=Spaceman Spiff]Okay.
It's just that I thought you already knew the whole thing. I will wait.


What stuff is happening with the bands?[/QUOTE]

we have a battle of the bands thingy coming in a months time, so we need to do alot with the 3 songs were gonna play there..

and for the moment i have another i play with to, but thats just until a gig in the begining of June...

I kow abou 19/20 of YYZ Though, but i just thought it would be a good thing to get the rest of it perfect if im gonna record it...

lemoley 05-18-2005 11:14 AM

hey guys hows it going

fatbandit 05-18-2005 12:01 PM

Just been buying CDs. Rahr.


All times are GMT -6. The time now is 05:12 AM.

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