Write a routing algorithm, that will teach you a lot about networking.
You can use c-net network simulator, write your algorithm in C.
Type: Posts; User: Roule
Write a routing algorithm, that will teach you a lot about networking.
You can use c-net network simulator, write your algorithm in C.
ECE2702 by any chance?
Thanks zach. Im already parsing the info to a tree structure. So that part is done at least.
Hi guys;
As some of you may know, Ive written a calculator that in summary works like this:
Scanner tokenises input expression; passes tokens to parser
Parser builds a binary tree as it...
Indeed the isdigit function is the correct choice, sorry for my error.
Hey all,
Its 2am im a little sleepy so I may be missing something elementary here;
I have calculator from the relisoft site that ive been modifying.
main
{input
About making sure the input is only numerical try:
if (isalpha (input))
{
//incorrect input
}
else
{
Thanks for making the effort, as you said I made the changes you suggested and used your file, worked like a charm. Those bugs are interesting though, but might have to do with the fact that the...
Hi, this page seems to have some good links and info:
http://en.wikipedia.org/wiki/Multithreading
However it was a simple google, and I dont understand the subject matter, so sorry if its not...
Hi everyone;
EDIT: Issue resolved, thanks Ken Fitlike
I have a program I downloaded from a net text book, and trying to build it all and run it to experiment and modify.
I read up on...
Misplaced curious to know how you decided between pre and postfix?
Misplaced, are you doing ece4709 by any chance?
I'll have to come back to this thread later misplaced, at the moment not in a situation to comment. Thanks for the help though.
Misplaced, do you also have to parse complex arithmetic? Whats the title of your project?
Thanks for that, that pseudo code does look right.
Sang-drax, the way I understand it I can deal...
Background Banter:
As per salem's advice earlier today ive learnt how to convert from infix to postfix using a stack, and how to then evaluate that RPN expression.
My next question is how to...
Thanks again for your help.
First question on this board I could help answer, have a read of this article:
http://www.cprogramming.com/tutorial/lesson9.html
Thanks for that comprehensive and fast response salem, excellent.
You mentioned that RPN evaluation is easily done with a stack, while not relevant to this thread, is that to say that using a tree...
My task is too write a tree-based calculator program using RPN, that reads input from a file with commands delimited by ";".
I have done my data-flow charts, and tree diagram
Two potential...