digitalmars.D - hexadecimal to decimal
- maarten van damme (4/4) Jul 22 2011 In my new project I read some memory from another running program.
- Vladimir Panteleev (8/14) Jul 22 2011 int value = parse!int(hexValue, 16);
- maarten van damme (2/15) Jul 23 2011
- Jonathan M Davis (6/7) Jul 23 2011 It's not that big a deal, but D.Learn is intended for questions on how t...
In my new project I read some memory from another running program. The problem is that I get the value I want in hexadecimal and in d I could only find how to convert decimal to hexadecimal while the reverse seems to be missing. Is there a method for this?
Jul 22 2011
On Sat, 23 Jul 2011 01:55:56 +0300, maarten van damme <maartenvd1994 gmail.com> wrote:In my new project I read some memory from another running program. The problem is that I get the value I want in hexadecimal and in d I could only find how to convert decimal to hexadecimal while the reverse seems to be missing. Is there a method for this?int value = parse!int(hexValue, 16); You may find the newsgroup digitalmars.D.learn more appropriate for such questions :) -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Jul 22 2011
ooops, didn't knew I had been posting in the wrong newsgroup, sorry guys :) 2011/7/23 Vladimir Panteleev <vladimir thecybershadow.net>On Sat, 23 Jul 2011 01:55:56 +0300, maarten van damme < maartenvd1994 gmail.com> wrote: In my new project I read some memory from another running program.The problem is that I get the value I want in hexadecimal and in d I could only find how to convert decimal to hexadecimal while the reverse seems to be missing. Is there a method for this?int value = parse!int(hexValue, 16); You may find the newsgroup digitalmars.D.learn more appropriate for such questions :) -- Best regards, Vladimir mailto:vladimir **thecybershadow.net<vladimir thecybershadow.net>
Jul 23 2011
On Saturday 23 July 2011 18:36:38 maarten van damme wrote:ooops, didn't knew I had been posting in the wrong newsgroup, sorry guys :)It's not that big a deal, but D.Learn is intended for questions on how to use D and its standard libraries whereas D is for more general discussions on the language. So, questions like this typically should be posted in D.Learn rather than D. - Jonathan M Davis
Jul 23 2011