Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
multiple character input in java
Name: valhalla Date: November 2, 2004 at 12:22:18 Pacific OS: win xp 64 CPU/Ram: a643200/1g
Comment:
Hey everyone. I am in real trouble.. I am new to java and realy need some help. I am writing a program with user input. I understand that (char)System.in.read(); will just give me the first character of my users respoonse, but i need to be able to read a double amount. I need it to be able to read money to the nearest penny, and i have no idea how to make java read the rest of my users response instead of only the first character. Please if someone knows a way to do this, and i know there must be a way, let me know. Thank you very much.
Summary: Got a q... I'm working on a personal project that's going to require a user inputted password... be kind of nice if the password didn't continue to show in the ever so fun JAVA console.. any ideas on ...
Summary: Hi, I'm currently working on a program in Java to compress a text file with Huffman Coding. I've got the my program to encode the characters properly. However, the output is a STRING of 1's and 0's. I...
Summary: If you are able to fit either 'form' or 'from' into a char type in java, you don't have to learn how to program because you will get rich showing the world how to fit 32 bits of data into 8 bits. char...