try the sun home page, there you will find the Java tutorial. <br>
<br>
tito<br>
<br>
<br>
<A HREF="http://java.sun.com/docs/books/tutorial/index.html" TARGET="_new">http://java.sun.com/docs/books/tutorial/index.html</A><br>
<br>
Which function do you want to call from my var = new Image()? What you could do, it change the src field in the image variable and that will load the new image. This works in NN and I think in IE as well though I am not 100% sure of that because I don't use IE. Anyway, something like this:<br>...
Try this:<br>
<br>
<SCRIPT language="javascript"><br>
<!-- <br>
function checknull(info) {<br>
if (info.fname.value == "") {<br>
alert("Please Enter Your First Name.");<br>
info.fname.focus();<br>
return false;<br>
}<br>
if (info.lname.value ==...
First, here is my understanding of your situation:<br>
<br>
You have some sort of gui/applet with a button (or set of) that each has a label. When the user clicks on one of these buttons, you want to receive the button pressed event and create the SQL statement using the text of the label of the...
The Java tutorial at the Sun site has a pretty good introduction on object serialization and externalization.<br>
<br>
<A HREF="http://java.sun.com/docs/books/tutorial/essential/index.html" TARGET="_new">http://java.sun.com/docs/books/tutorial/essential/index.html</A><br>
Yes, you can use the functions calloc, malloc and realloc to dynamically allocate memory from the heap at runtime. <br>
<br>
For example, you can read the size of the array from the user and use this to dynamically allocate space for the array.<br>
<br>
int size;<br>
char *buf;<br>
<br>...
You only need to allocate space when you want to store information. Since in your case you are setting the pointers to pre-existing (already allocated) addresses, then there is no need to allocate space. As a matter of fact, allocating space in this situation can lead to a memory leak, because...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.