| delorie.com/archives/browse.cgi | search |
| From: | jedi AT kdt DOT de (Daniel Rauhaus) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Char to Int |
| Date: | 10 Oct 2000 12:43:49 GMT |
| Organization: | 4M4E |
| Lines: | 9 |
| Message-ID: | <8rv2u4$j15l1$1@ID-24715.news.cis.dfn.de> |
| References: | <8ru734$ab7$1 AT nnrp1 DOT deja DOT com> <8aviOQJFsqLNejHQEsWJk7JTrdYF AT 4ax DOT com> <8rujrt$jtr$1 AT nnrp1 DOT deja DOT com> |
| NNTP-Posting-Host: | line06a2.kdt.de (213.240.147.162) |
| X-Trace: | fu-berlin.de 971181829 19961505 213.240.147.162 (16 [24715]) |
| X-Posting-Agent: | Hamster/1.3.21.90 |
| User-Agent: | Xnews/03.08.12 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
>I have the data in char x. How do I divide by 16 or something and make >x reflect the result? I keep getting the original value or 0. Could you please post a fragment of your source which shows the problem? It's not easy to guess from your description what you are doing wrong. Daniel
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |