![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2005
Posts: 3
Rep Power: 0
![]() |
encrypter/decrypter - help
hey
i'm trying to make a simple encrypter/decrypter. i'm very new to java. i have 80% of the work done: the letter class and the world class. Encryption and decryption for word and letter is working perfect, but I'm having trouble with the Phrase class. I have been stuck on this class from 2 weeks now, and my final project is due tomorrow. If someone can help me out, i'll appreciate it very much. this is the link to my project (i use JCreator): http://66.29.37.125/Encrypter.zip |
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
You have a class for a letter? Isn't that a tad pointless for the overhead?
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Dec 2005
Posts: 3
Rep Power: 0
![]() |
my professor told me to start with a letter class first, then word, and then phrase (hardest). can u help me out plz
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
String Temp = "";
int Counter = 0;
for (int i = 0;i<thePhrase.length();i++)
{
if(thePhrase.charAt(i)!=' ') //if there is no space, execute the code
{
Temp = thePhrase.charAt(i);
Counter ++;
}else //if space is detected,
{
//mafa
}
}is this the problem thats troubling you?
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Dec 2005
Posts: 3
Rep Power: 0
![]() |
yes sir! any way to fix it?
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|