delorie.com/archives/browse.cgi | search |
Date: | Sat, 27 Mar 1999 20:45:54 -0500 |
Message-Id: | <199903280145.UAA31068@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <7dk0c8$v0e$1@nnrp1.dejanews.com> (ryan_brown@my-dejanews.com) |
Subject: | Re: converting variables |
References: | <7dk0c8$v0e$1 AT nnrp1 DOT dejanews DOT com> |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> How can I convert values from a variable of one type to another > variable of a different type? Usually, the compiler does it for you. > I need to convert a float variable over to a char variable. float f; char c; c = f;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |