Oh yeah i remember that one, but i did mine in java. hey which year u finish? maybe i know u..Originally Posted by TJRAK
Oh yeah i remember that one, but i did mine in java. hey which year u finish? maybe i know u..Originally Posted by TJRAK
This proplem should take me about a week, so to see it working, I almost drop of the chair. Bugs are minor
I followed your code, but could you give me an overview of your method.
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you
Graduated last year. I did mine in COriginally Posted by leoandru
There is no wrong or right, only consequencies to action
"It is the duty of man to make his knowledge so complete in life, so as to make it impossible for any other to take advantage of him" - Marcus Garvey
Oh ok..
for a expression like a+b*c basically it starts of by assuming that the first character is the result. result = a; then it goes on to recognize that the 2nd character is a + operator and simple stores that for the next calculation. when i runs into the operand b its takes the current result and the stored operator and carry out the calculation like a+b. so now result = a+b; it then stores the * operator and apply the same principle when it encounters c. I hope u understand.
Ok I think I understand, my bad for not full explaining the question in my first post.
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you
@Leo,
What is the psudo code for the updated problem, before u start. Even working that out can take a week. The actual programming is easy as we can break it up amongst us three.
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you
umm. good suggestion. i'll work on it; gonna get some food to feed my brain .Originally Posted by crosswire
ok tomorrow, me a go feed the masses too
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you
Let me finish preparing for me C++ class then I get right on it. I'm considering using a stack. What's your take on this?
There is no wrong or right, only consequencies to action
"It is the duty of man to make his knowledge so complete in life, so as to make it impossible for any other to take advantage of him" - Marcus Garvey
I think a form of stack would be ideal for storing the operands so that memory use can be efficient. I will explain that later.
Where would you use it? for operators or operands?
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you