Skip to main content
gamedev.net
🔒 Locked

java conversion question

Started by BriarLoDeran Apr 22, 2001 at 10:33 PM 1 replies 900+ views
Original Post
BriarLoDeran
BriarLoDeran
This should be very simple for a java disciple, but it is causing me massive problems... In my beloved C/C++, I could do the following: int x = 65; char ch = char(x); so now ch would equal 65 or ''A''. of course this isn''t necessary in C, but java starts crying about this. so, how do I do this in java? Thanks, Briar LoDeran
BriarLoDeran
BriarLoDeran
I can''t believe that worked, but it did. Thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.