
-----------------------------------
Shiro786
Sat Jun 09, 2007 8:54 am

Novice Question: Printing &quot;/\&quot; in Java
-----------------------------------
It's me again, for some more basic questionings again.

Very basic question, I know because other people are talking about how to implement friction XD

So, do you guys know how to do it? Thanks in advance.

(It's for a textual header for a Summtive/Culminating Activity Project that is due on Monday.)

-----------------------------------
inflamous
Sat Jun 09, 2007 10:28 am

RE:Novice Question: Printing &quot;/\&quot; in Java
-----------------------------------
I remember having to do that before, i just used ASCII values to print the "\" out. The "/" can be outputted manually.

-----------------------------------
richcash
Sat Jun 09, 2007 1:44 pm

Re: Novice Question: Printing &quot;/\&quot; in Java
-----------------------------------
System.out.println("/\\"); will output what you want.

The backslash is the escape character in java. Go [url=http://www.janeg.ca/scjp/lang/charLiteral.html]here to see more of its uses.

-----------------------------------
Shiro786
Sat Jun 09, 2007 6:33 pm

Re: Novice Question: Printing &quot;/\&quot; in Java
-----------------------------------
Hehe! Sweet! Thanks a shiz load rich cash, that totally helped. Now to finish this damned thing and study for my Math Exam. ;_;
