Results 1 to 3 of 3
- 04-03-2012, 08:44 PM #1
Senior Member
- Join Date
- Nov 2011
- Location
- Turkey
- Posts
- 378
- Blog Entries
- 24
- Rep Power
- 2
- 04-03-2012, 08:48 PM #2
Re: How to print the integer value of char : '
Did you add those spaces for demonstration purposes?
Try escaping the ' with a backslash. For example, to print out a " inside a String, you do this:
Java Code:System.out.println("I contain \" quotation marks!");How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 04-03-2012, 11:08 PM #3
Senior Member
- Join Date
- Nov 2011
- Location
- Turkey
- Posts
- 378
- Blog Entries
- 24
- Rep Power
- 2
Similar Threads
-
How to Print every tenth integer in my output
By jim01 in forum New To JavaReplies: 13Last Post: 04-16-2011, 03:00 AM -
check a string char by char
By Sotsiak in forum New To JavaReplies: 2Last Post: 10-23-2010, 09:24 PM -
replaceALL(char oldChar, char newChar) method
By arson09 in forum New To JavaReplies: 0Last Post: 04-28-2010, 05:48 AM -
drawing char by char with Graphics
By diggitydoggz in forum New To JavaReplies: 5Last Post: 12-27-2008, 12:49 PM -
need help print char and digital
By lowpro in forum New To JavaReplies: 4Last Post: 12-04-2007, 07:20 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks