|
i want to dvelop an application reinstaller which needs both file monitor and registry monitor so how can i do it.
can u tell or describe how to do
modified on Monday, November 2, 2009 12:09 PM
|
|
|
|
|
aviparida wrote: i want to dvelop an application reinstaller which needs both file monitor and registry monitor so how can i do it
I've started you off, now all you need is to fill in the blanks:
package NeedsCode;
public class Main {
public static void main(String[] args) {
throw new UnsupportedOperationException(
"The program code needs to be implemented.");
}
}
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Write a program Cipher.java that encrypts plain text from a file, using a transposition cipher. The cipher works by 'transposing' the characters of the text, making it difficult to read without knowing the characters' original positions. Conceptually, the text is first arranged into rows, then the columns are rearranged, and each column's contents are output to produce the encrypted message (cipher-text). If there are not enough characters to fill the final row, the remainder should be 'padded' with a space followed by enough random characters to fill the row (this is to ensure that each column is the same length, so decryption would work correctly.)
Your program should read the text from a file (e.g. “plain.txt”), encrypt it, and display the cipher-text. The file will contain some number of lines, each consisting of only lower-case letters (a-z) and spaces (i.e. no upper-case letters and no punctuation.) After encryption, the cipher-text should be displayed on the screen using upper-case letters. The columns should be rearranged in the order: 4,7,3,1,5,2,6.
this is my very
secret message
\/
1 2 3 4 5 6 7
t h i s i s
m y v e r
y s e c r e
t m e s s a
g e e g k r
In rows, padded
\/
4 7 3 1 5 2 6
s s i t h i
r y v m e
e e s y c r
e a m t s s
e r g g e k
Re-order columns
\/
S EEESREARIYSM T YTG
VCSGHM EIERSK
Cipher Text
|
|
|
|
|
This belongs in the jobs forum or on Rentacoder!
|
|
|
|
|
no it is an assignment i need to submit it as soon as possible
|
|
|
|
|
Then you'd better get to work, hadn't you?
|
|
|
|
|
i am very poor in programming , please if any one can do it i will pay them
|
|
|
|
|
maddynandu wrote: i am very poor in programming
Then find yourself a different study course more suited to your abilities.
|
|
|
|
|
Before you type can anyone write the java code for the below program (money will be paid) how about you google transposition cipher java and bingo some one has done it for free Link[^]
|
|
|
|
|
can anyone tell how to write the code for registry monioring in java or c,c++.
can any one tell how to write d code for registry and so dat it can make the following changes
it should be writen in native class written in C or C++ that uses the Windows registry fiddling API calls. InstallShield for Java has facilities to fiddle the registry. That would be a way to kludge it.
Look at these entries in the registry:
My computer\HKEY_CURRENT_USER\Software\JavaSoft\Java Plug-In
My computer\HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Development Kit
My computer\HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment
My computer\HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-In
|
|
|
|
|
|
Hi am new to OLAP Cubes technology, how can i implement OLAP cubes in my j2me application. I learnt about JOLAP API which is focusing mainly for J2SE applications. I tried and googled hard to find solution for same but didnt find any clue. Please help me if you have devised solution for using OLAP objects in J2ME
Thanks and Regards
Mangaysh
|
|
|
|
|
can anyone tell me how to do the jvm manager and procedd it
|
|
|
|
|
Sorry but your question is not clear, can you rephrase it?
|
|
|
|
|
i want to develop a software in which more than one jvm can be installed in single machine or in other words it can switch between different jvm. i am laso attachng where i found this project see it and tell how to do it .
http://mindprod.com/project/jvmmanager.html
here is the link where u can find all the necessary information
|
|
|
|
|
As I understand it this link you provided describes how to use multiple JVMs on a single machine. You now want to develop this software. So what help do you expect from the Code Project?
|
|
|
|
|
i want from source project how to develop this software and how to write the code or can anyone help me in developing this software . in other words i wantcode for developing it
|
|
|
|
|
aviparida wrote: i want from source project how to develop this software and how to write the code or can anyone help me in developing this software . in other words i wantcode for developing it
Sorry, but I don't think you will get it. If you need suggestions of how to develop particular types of project then try searching the articles. If you want someone to write the code for you then you need to advertise in the jobs forum and be prepared to pay for it.
These forums are here to assist you when you have developed the code but come up against a particular problem, but not to do the work for you.
|
|
|
|
|
so u knw anybdy who can do it and i m ready to pay price for it
|
|
|
|
|
aviparida wrote: so u knw anybdy who can do it and i m ready to pay price for it
As I said above you will need to advertise or search in the Jobs forum.
|
|
|
|
|
|
aviparida wrote: so er any other way..
Sorry, but I think you have all the options. This site is for people who do their own development.
|
|
|
|
|
I am new to Java and need to know how to correct this function call parameter passing compiling error. Any ideas?
List.java compiles and here is the code.
class List
{
private class Node
{ int col;
double val;
Node next, prev;
Node (int c, double v) { col = c; val = v; next = prev = null; }
public String toString() {
return String.format (" (%2d, %5.2f)", col, val);
}
public boolean equals(Node E) { return (this.val == E.val); }
}
private Node front, back, current;
private int row, length;
List(int r) { front = back = current = null; row = r; length = 0; }
void insertAfterLast(Node N)
{ Node node = new Node(N.col, N.val);
if ( this.length == 0 )
{ this.front = this.back = node;
}else {
node.prev = this.back;
this.back.next = node;
this.back = node;
this.current = node;
}
this.length++;
}
public String toString()
{ String str = "";
for(Node N = front; N != null; N = N.next)
{ if ( N == front ) { str = String.format ("%3d:", row); }
str += N.toString() + (N.next==null?"\n":"");
}
return str;
}
}
ListTest.Java does not compile. Here are the error and code.
-bash-3.00$ javac ListTest.java
ListTest.java:20: non-static variable this cannot be referenced from a static context
Entry Ea = new Entry(0, 0.0);
^
ListTest.java:24: insertAfterLast(List.Node) in List cannot be applied to (ListTest.Entry)
A.insertAfterLast(Ea);
^
ListTest.java:26: insertAfterLast(List.Node) in List cannot be applied to (ListTest.Entry)
B.insertAfterLast(Ea);
^
ListTest.java:28: insertAfterLast(List.Node) in List cannot be applied to (ListTest.Entry)
B.insertAfterLast(Ea);
^
4 errors
class ListTest
{
private class Entry
{ int col;
double val;
Entry next, prev;
Entry (int c, double v) { col = c; val = v; next = prev = null; }
}
public static void main(String[] args)
{ int i;
List A = new List(1);
List B = new List(2);
Entry Ea = new Entry(0, 0.0);
for(i=1; i<=4; i++){
Ea.col = i;
Ea.val = Double.parseDouble(Integer.toString(i));
A.insertAfterLast(Ea);
Ea.val = Double.parseDouble(Integer.toString(10-2*i));
B.insertAfterLast(Ea);
Ea.val = Double.parseDouble(Integer.toString(9-2*i));
B.insertAfterLast(Ea);
}
System.out.println(" ");
System.out.println("Print Lists A and B which have been initialized");
System.out.println("A = " + A);
System.out.println("B = " + B);
}
}
|
|
|
|
|
You need to move your Entry class outside your ListTest class.
Adam Maras | Software Developer
Microsoft Certified Professional Developer
|
|
|
|
|
srbruno wrote: ListTest.java:24: insertAfterLast(List.Node) in List cannot be applied to (ListTest.Entry)
A.insertAfterLast(Ea);
insertAfterLast is defined as void insertAfterLast(Node N) but you are passing an Entry object.
|
|
|
|