Topic
Java Halp
|
Edited by Delmin on 2/1/12 2:20 PM (PST)
I know this is slightly off topic, but it still has something to do with computers eh?
So I'm in a beginner computer science class, and I'm supposed to write a string that produces «/\/"\/\» So I wrote this class Homework1B {But then it's giving me an "illegal character /92" on the middle ". Any ideas? Also if anyone could tell me how I'm supposed to write Unicode, it'd be cool. I'm supposed to write the « and » via Unicode, which is apparently done by holding down Alt and then entering U+00AB and U+00BB, but it ain't workin'. |
|
i dont know java i only took c#
|
|
Edited by Delmin on 2/1/12 5:03 PM (PST)
needs proper escape character for the " in the middle of your println Alright so I changed it up a bit and then it's working now, but then for some reason the stupid program won't accept a copypasted «» (it turns into ?s), so it still fails me. This sucks man. Edit: Okay I got this program that decodes unicode, but then it still doesn't recognize it. Alright, time to skip this question! |




