No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey there, I'm new to java and I need to write a string that i generated in my code to an output file. I'm currently writing the string to the standard output like so : System.out.println("K_"+Receiver+",t"+msgnum+"(R(" +Receiver+",t"+msgnum+"("+out1+")))"); All the types e.g. 'Receiver' or 'out1' are of type string. Could anyone … |
|
Hi there, I'm currently trying to write a program that requires me to generate some mathematical formulas. I've been able to use the extended ascii codes to represent some of them using code like below : int i = 64; String aChar = new Character((char)i).toString(); //Prints the ascii value of … |
|
Hi there, First off I'm new to java and coding in general so please bear with me. I'm trying to write a bit of code that will convert something like the following con(pk(B),pk(AS),pk(A),B) to this k_B, k_AS, k_A, B I have written the following code : Pattern pk = Pattern.compile("pk(.*)"); … |
|
Not sure if this is the correct forum to post this question. I've just downloaded the free jbuilder foundation application. I've used an earlier version of jbuilder(1.01) and when I create a new project, I simply add the files I need to the project, make the project and then I … |
|
Hey there, First off I'm really new to Java so please bear with me. I need to translate a line of text from one form to another. An example line segment has the following format: " step(sent(1,A,B,vars(Na,Rv,ped(pk(B),cat(N a,A)))))" This means that at step 1, A sends to B that which … |
|
Hey, First off I'm really new to Java so please bear with me. I need to read in a file and translate it to a different output format. An example line segment from the input file has the following format: "step(procs(),rule(1,A,B,vars(Na,Rv,ped(pk(B),cat(Na,A)))),procs())" (i) This means that at step 1, A sends … |