Web: Email:Offline for: 1wk 9h
Rioting since Dec 27, 2007
MOVIES
Big fish
MUSIC
Ashes Remain, Disciple, Pillar
Red, Toby Mac, Skillet
Relient K, Family Force 5, Hawk Nelson
Anberlin, Breaking Benjamim, Queen
KJ-52, John Reuben
BOOKS
Left Behind (series)
Artemis Fowl
Harry Potter
Running Loose
Series of Unfortunate Events
TV
Lost
Just For Laughs
Eli Stone
Deal or No Deal
DRINKAGE
Dr. Pepper
Water
milk when it's mixed with Cinnamon Toast Crunch
INSPIRATIONS
my LORD and savior, Jesus Christ
my beloved; who I have yet to meet
Blog
something like peasantquest!
May 30, 2008 - 10:07pm
Blog Code
Mood: it's Friday, schools almost over. I'm happy!
Playing: Napalmriot
Watching: reflection on compy screen (or news to be technical)
Listening: KUTLESS!
Reading: scarlet letter doesn't count
Drinking: gatorade
Eating: cereal
Hey! It's been a while since I updated the community on my C progress. I thought I'd jump in here and say a bit. I was toying around with strings and decided to test equivalences between a set string and an inputted string. something like this (assume variables are previously assigned):
my guess is that it won't work because I'm not accounting for the null character that is automatically used to end a set string. I dunno, it could be something else. If you know off the top of your head, feel free to tell me. btw, since I'm still new to C and C++ I use the getchar() function to temporarily pause the program. I don't know any other way to do it. Nor have I figured out exactly what the getchar() function is for besides a literal keyboard/mouse scanf(). I'm assuming it's like getkey on the calculator, but I haven't gotten far enough for it to matter.
another thing, what this has to do with peasantquest. As some or all of you may know, peasantquest is based on text input directions. to pick something up, you literally type "take stick" or "take baby". I wanted to see if I could develop a minor search engine of sorts. Something that will discern between what matches the inputted text and what doesn't. That was the first step, and i got shut down...
User Comments!
ʊIrishancest
Legally Certified Warthog Operator
Beware. The Internewt is real!
I'll have a loil, on the rocks.
Come Riot over in Napalm Chat: http://www.napalmriot.com/chat/
ɤ6od53nt
Casts Magic Missile
anyway. I've been taking shots at strings and such every now and again. strcmp really helped me out a lot, can't believe I didn't remember it.
summer vacation just started for me today, and I've been sweeping up some loose ends!
"For the Glory of my LORD God!" --outcome of my first program
ʊIrishancest
Legally Certified Warthog Operator
Beware. The Internewt is real!
I'll have a loil, on the rocks.
Come Riot over in Napalm Chat: http://www.napalmriot.com/chat/
ӝspot
Chief Instigator
I, Gamer!
ѻAnnath
Killed Big Daddies With The Wrench
i need a better sig, dont i?
ɤ6od53nt
Casts Magic Missile
"For the Glory of my LORD God!" --outcome of my first program
ѻAnnath
Killed Big Daddies With The Wrench
have you beat it?
i need a better sig, dont i?
ʊIrishancest
Legally Certified Warthog Operator
Beware. The Internewt is real!
I'll have a loil, on the rocks.
Come Riot over in Napalm Chat: http://www.napalmriot.com/chat/