|
|
One thing I was wondering. How would you get it to detect a word, or character within a user input? |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
|
|
(\_ _/)
(='.'=)
(")_(")
Firstly what you're trying there won't work. If you want to compare two strings you need to use strcmp() or something. strcmp() is a function that returns the number of characters that are different between two strings. In your example, you could have written |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
Absolutely not. |
|
Last edited by ninja9578; 01-29-2010 at 04:47 PM.
Slash, |
|
(\_ _/)
(='.'=)
(")_(")
Thanks, guys. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
lol, no don't do that. If I correct you then you learn more |
|
Well. I would like to know how Guitarboy is coming along. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
Err, not very good at it. |
|
Aww, oh noes |
|
I'm not reall quite sure what I should be doing/learning. I'm going to take classes soon (a month, probably) so I'm going to wait until then. |
|
You know, the first few problems on http://projecteuler.net/ are actually really easy, and perfect for you to practice if you don't really have anything to practice with. |
|
Bookmarks