![]() |
What does the
flag = false and flag = true mean? |
[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: |
[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. |
[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. |
[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] |
[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$$ |
So Ct, who hears is hungry?
|
[QUOTE=ScorpSath]So Ct, who hears is hungry?[/QUOTE]
*raises hand* |
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=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: |
Hey.
|
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: ) |
[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: |
[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 |
Would anyone happen to have an mp3 of School Days they'd be willing to send me/upload somewhere for downloading?
|
So... Guess who just bought tickets to the Stones tour?
|
Meh.
I'm not a big enough fan to go see them live. |
^^ Nice.
They are even coming here! |
[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] |
Why thank you, thank you very much.
|
no problem man
|
Sounds cool.
*looks for it's sheet music* |
Upon listening to it, that really is an awesome song. :thumb:
|
Do the bump.
|
I tried to download this a while back and only got a 30 second loop... I gotta say I was missing out... :lol:
|
Feedback on USA muffs please?
|
[QUOTE=ROM]whats a dissertation ??[/QUOTE]
Bit late on the reply ROM but its a thesis... like an essay. |
[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: |
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 ^_^
|
:amaze:
|
i think i need to find meself a pop rock band..:lol: listening to tracey chapman just gives me ideas all the time :p
|
Martin! Killed the threaaaaaaaaad! :D
...Again :mad: |
its a hobby of mine.. cause you guys hate me, so i have to...
|
Give me YYZ or give me death!
:D |
^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...)
|
Okay.
It's just that I thought you already knew the whole thing. I will wait. What stuff is happening with the bands? |
afternoon MX :wave:
i just learnt most of the ytse jam by dream theater - god myung rocks |
[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... |
hey guys hows it going
|
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.