1,027 Posted Topics
Re: [QUOTE=macca1979]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 … | |
Re: what stream are you using for reading the code .....? | |
You know Dani ! I had to download the whole mirc client only bcuz the chat applet on daniweb was not working ... the error it displayed was : couldnot find the specified applet. | |
Re: have you tried the boot time scan ?? some viruses wont go away when the windows has loaded. | |
Re: what exactly are you trying to do ... you can use simple if statements to check whether nbr is greater than zero or not. | |
Re: It is not only the registry that matters ... some programs do have some changes in the system files .... you can use system mechanic to track changes in the registry and your hard drive ... | |
Re: [code] import javax.swing.JOptionPane; public class FirstProgram2 { public static void main (String[] args) { String school = JOptionPane.showInputDialog("Enter your school name"); String first = JOptionPane.showInputDialog("Enter first decimal number") ; String second = JOptionPane.showInputDialog("Enter second decimal number") ; System.out.println("Your school's name is " + school) ; System.out.println("first number you entered is … | |
I came to know today that paypal does not work in Pakistan when I was trying to have a paid subscription for daniweb ... should I be able to pay via credit card ??? | |
how can I edit my right click menu in windows 2000?? it has become very heavily occupied and it takes time to open ... | |
Re: This discussion confuses me now .. can Dani explain clearly on what scale these rep points are based on. | |
Re: can you please indent your code properly .. its unreadable.. | |
Re: yes we are a community ... we are like brothers and sisters ... we help eachother ... a warm welcome for you on entering this family:) | |
Re: slowly and steadily daniweb is on a rise !!! hope to get a 100 million soon:) | |
Re: have you written a simple program in java ??? if yes ... then public static void main (String [] args) is a function ... in java a function is called a method ... you can write a method like this : public void methodName(in a, double b){ } where void … | |
Re: you know cosi is so helping .. . always positive.... :) | |
I want to input a string Suppose the string was : String s = "sani"; Now I want to make "sani" the name of an object of one of the class. Suppose the name of the class is myClass. I want to : myClass sani = new myClass(); Any ideas?? | |
Re: Atleast show some effort here ... typing a question is no effort ... atleast start writing the program ... you'll certainly be able to start it ... Its not a very hard program. Show some effort and post again .. you'll certainly be helped. | |
What is the difference between jbuilder 7 and jbuilder 9 ... I am using jbuilder 7 .. n I am thinking of buying jbuilder 9. | |
Re: try using JWindow instead of Window. | |
Re: I think you can use getSelectedText and setSelectedText methods of text area. I dont know about the awt components but I use them in swing. | |
Re: You didnt write the comparison of grades vs the gpa ... how would I know the gpa if my grade is A?? A means 4? B means 3 or above ? or something else???? | |
Re: hi xxx1203 ! you're most welcome here ... you can post any programming related questions in the respective forums ... and if you have a general question, you can post it in geek's lounge. | |
Re: First of your programs is pretty simple ... and last are pretty confusing .. .can you explain them out. | |
Re: these are only gifs ... you can create them using any animation program including flash. | |
| |
Re: do you mean the private messages or the threads started by the users?? Much of the users here are not regular posters ... so everyone cant be forced to see their posts. | |
Re: ibm.com has an article about how to make java programs faster ... I dont remember the page address ... but you can search ibm for java. | |
Re: I get so much confused when I see people like dani ... about what is the most important thing in our body is ... everything seems to be very important but we see people without having some of those important parts and still living their lives to their full. | |
Re: Yes there is always a tomorrow .... that that tomorrow has come for Dani ... as we take a look at daniweb growing n growing everyday . Cheers :) | |
Can I see who I referred to ????? or it is worth keeping a secret ... or it is too bulky to be displayed. | |
Re: Java How to program ( Deitel and Deitel) has a full chapter on building an instant messenger. | |
Re: I think your question is about c++ ... so it should be posted in c++ forum ... you'll get replies there. | |
Re: I usually make another object of the gui class ... but I dont know how to get the running object closed .. cuz when I close the running object .. it throws an exception..... | |
Re: show some code buddy ... only then we'll be able to find your trap point. | |
how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible? | |
Re: Are you compiling or implementing???? | |
Re: yes ... once I started my computer and it formatted the whole hard drive without booting into windows .... I knew it by booting it from the cd rom :DD | |
Re: I define a language as a set of symbols with a set of gramatical rules ... c++ is also a language like english or french or german .... but its a language that a computer understands ... and ofcourse a programmer. Its not as easy as calculus ... but its … | |
Re: Are you talking about the flip flops or some other things?? | |
Re: #include <stdio> // stdio is the newer version of stdio.h int main () { int x, y; x = 6; y = 2*x*x*x+5; cout<<"y is"<<y; } | |
Re: Read about windows APIs if you want to create viruses for windows .... but its highly illegal ... you should only make those programs only for testing your skills .... --->MAKE YOUR MIND POSITIVE---< --->OR YOU"LL RISK YOUR LIFE---< | |
Re: [QUOTE=alexmejia92] a) declare two integer variables x and y b) let x = 6 c) find y value use the following algebraic formula y=2x (third power) + 5[/QUOTE] a) int x; int y; b) y = 6; c) y = 2 * (x ^3) + 5; | |
Re: You havnt been able to explain your question well ... but if you are planning to make a messenger like msn or yahoo ... you'll have one server running at all times .... and then when the user signs in ... it'll request the server ... and the server will … | |
Re: [url]http://java.sun.com/j2se/1.4.2/docs...lassLoader.html[/url] Look at this link. | |
What is that star over the reputation indicator I see over some members?? I couldnt understand its purpose. | |
Re: Your code is impossible to read ... no indentation ... no code tags ... no spacing ... no nothing .... |
The End.