|THE CRAVE GAMING CHANNEL|
· Halftime Report
· Indie Submissions
· Release Dates
· Message Forums
· Staff Bios
· Jobs Listing
· Level Grinding
· An Hour to Impress
· Player vs. Player
· Saving Throw
· RPG Elements
Here I am. I know this is a little late, so lets cut to the chase, shall we? :>
The postfix fix
When you mean postfix do you mean expressions like "55, 4, 5, +, 6, *, -"?Ê This is equivalent to the infix expression "55 - ( 4 + 5 ) * 6" where the answer is 1.
If so, programming the code is pretty straightforward in C++.Ê You have to use a stack (and possibly a symbol table).Ê Hopefully you know about object oriented programming as it pertains to creating "stack" objects.
When you see an operand, you push the operand onto the stack.
If you keep doing this, your stack will eventually end up with one operand. That operand is your final answer.Ê For error checking, you have to make sure that there are no more operators in your expression when you have only one operand left in your stack.
Let's use my first expression as an example.Ê The steps in evaluation will be:
"55, 4, 5, +, 6, *, -"
About the symbol table.Ê You may need to make one if you want to convert an infix expression to postfix.Ê You will need 2 stacks to do a conversion like this.Ê One stack to store operands, the other to store operators.
Ê Good luck.
Mike: Uhm.. wow. Thanks. I'm supposed to think of all this while crammed in a desk where the designer was 4 feet tall and built to his size? So much for the glamorous college scene. Where are those bombshell blondes that I saw in all those B grade movies? DId TV lie to me after all? Say it isn't so.
Oh yeah, I forgot to mention. That was only the fourth page of a seven page test. Yay.
To correct a tiny fault in the last Circle of Sages article concerning Butz's
age, I feel it necessary to point everyone to Squaresoft's official FFV site at
For anyone who don't have a shift-JIS program and can't read the information provided, the
stats of the 5 characters are listed as thus:
And as for the character designs in the FFV FMVs, remember that they are based on the original Yoshitaka Amano designs (does ANYONE use the games section of RPGamer anymore and look at the Square artwork for FFV?), and also remember that Cecil too had white hair, so this isn't new to FF :). Have a nice day ^^. Shinryuu
Mike: While everyone told me about the hair, Shin here told me the stats that I didn't know, even if I do have the enlightened shift-JIS browser. Of course, being able to read it would probably help that. I'm trying!
Brain stabilizer pills?
What does lurk in your head? Molded pizza? A little image of Tifa Lockheart? (I know what lurks in mine! Vincent!! *drool*) I was just wondering. Hm, maybe I should get a job..
Mike: A job? Ewww.. oh, wait. I have many... damn. What lurks in my head? That is what this column is all about, right? Well, at least for today. I am actually regretting ever giving up the illustrious post of RPGuru. But then I'd have to be witty all the time, and those anti-social genes in my body would revolt, and what a mess that would be.
One thing. I miss Joshua Reid. You know, the guy with the multiple personalities. Whatever happened to him? He was supposed to set me up on a date with Victor, the bum. (Not that I don't like u, Mike!! You're one of the kewler Sages!!)
Mike: Well, thanks. I try to please all you out there. Josh simply couldn't keep up. He overworked himself trying to keep up with this column everyday. The mail pile can be huge. I bet he saw his grades for last semester, and simply made the hard choice.
What's this? A Final Fantasy movie void of magic? What? And it has
aliens? What? And it's set with none of the familiar FF characters? What?
What? What? I'm beginning to sound like a light bulb? Forget it, the joke's
Mike: Uhm, we always post the screen name, or nickname, or whatever they "sign" the latter with. There isn't a reason why we don't post the email address, except that we simply don't. Never had anyone ask that before, so I guess it never came up.
Thanks for listening to my rambling. Oh, and thanks for posting it, too!
(heh heh. now you have to post it. oh wait...maybe not. D'oh!!)
Mike: There you go, your email address for everyone to adore and use? Who knows.
Mike, the Artist... I wish
I finally finished Brood Wars last night and I saw your name in the credits! Is it actually you? If it is, then I'd like to congratulate you on a job well done.
Ê Sean Kepper
Mike: This question actually amazes me, mostly because more than one person asked it.
CT 2? Of course!
How come the column for the 13th wasn't added till like after noon on the 14th (today)?
Mike: Cached main page? The CoS for the 13th was up by 5 PM on that day.
Anyway...I have a question. Seriously, please. What are the actual chances of a Chrono Trigger 2? I still cherish the first one...and I thought it left a lot of room for a sequel, With Magus searching for what's her name (I forgot her name, how could I...) and all.
Mike: According to this news story (nothing like using your own site for a source, eh?), CT2 is definately in the works. Square has also left other hints lying around that this is true. Like everyone else who played the first, a sequel would rock.
Whew. I feel so trendy.
|© 1998-2015 RPGamer All Rights Reserved|