An Ambitioous Console Replication
-
Now as I have told earlier, I am just 30 days old baby as far as C# is considered. But amibition knows flying since its birth. I am interested in harnessing the power of C# for scientific calculation. I want to create a console like structure as cmd.exe in XP, which does mathematical calulation. Like if i write >> 3+2 [Enter] 5 The output should be 5. How ambitious am I and where do I go before I see no falling of my ambition? What are the issues assocoated with it? Regards, Amit
-
Now as I have told earlier, I am just 30 days old baby as far as C# is considered. But amibition knows flying since its birth. I am interested in harnessing the power of C# for scientific calculation. I want to create a console like structure as cmd.exe in XP, which does mathematical calulation. Like if i write >> 3+2 [Enter] 5 The output should be 5. How ambitious am I and where do I go before I see no falling of my ambition? What are the issues assocoated with it? Regards, Amit
This is pretty easy to do, you're talking about a console application, with a parser in it Christian Graus - Microsoft MVP - C++
-
This is pretty easy to do, you're talking about a console application, with a parser in it Christian Graus - Microsoft MVP - C++
How exactly?
-
How exactly?
Well, you know how to write a console application, generally, right ? Then you need to accept input, presumably a string at a time, and then parse it to work out what is being requested, I guess first by looking for numbers and operators, then working out the order of operations. Christian Graus - Microsoft MVP - C++