|
-
Sep 21st, 2009, 02:50 PM
#1
Thread Starter
Lively Member
[RESOLVED] converting a string to code
VS 2008.
Hey guys. I was trying to figure out how to convert a string (that the user would input to the program via a textbox) into actual code for the program to compile. For example, if the user was to enter: (5*100)+(20-3). How could you take that inputted string, and have the program solve it and return the value? If someone could also explain the code too, because I'd like to tinker with it to use it for things such as inserting other forms of code as well. Thanks for the help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|