Lukich Posted March 24, 2004 Share Posted March 24, 2004 let's say, I have a code that goes like: string direction; if direction = "x", then { blah, blah,blah; } how do I implement the conversion of the string "X" to the integer that is being required by the if -then loop? Thanx!!! Quote Link to comment Share on other sites More sharing options...
edward Posted March 24, 2004 Share Posted March 24, 2004 exhelp strcmp Quote Link to comment Share on other sites More sharing options...
Lukich Posted March 24, 2004 Author Share Posted March 24, 2004 cool, thanks!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.