www.delorie.com/archives/browse.cgi | search |
From: | Erik Max Francis <max AT alcyone DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: pointers in Nt09 of EMX port |
Date: | Sat, 07 Dec 1996 14:27:16 -0800 |
Organization: | Alcyone Systems |
Lines: | 16 |
Message-ID: | <32A9EF44.11E7667D@alcyone.com> |
References: | <01bbe42a$5a05a7a0$9d805380 AT maan-m DOT -hamze> |
NNTP-Posting-Host: | newton.alcyone.com |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Maan M. Hamze wrote: > But when I compile the program and run it using the NT package of the EMX > port I keep on getting the value of 1. > When I type cast these values in cout to unsigned I get the value: > 334748. The canonical way of inserting a pointer into an iostream is to cast it to void * first. -- Erik Max Francis | max AT alcyone DOT com Alcyone Systems | http://www.alcyone.com/max/ San Jose, California | 37 20 07 N 121 53 38 W &tSftDotIotE | R^4: the 4th R is respect "But since when can wounded eyes see | If we weren't who we were"
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |