Hi,
I made a screensaver which loads a jvm, forks a thread running a java class, wait until user's action(i.e. mouse move/click keyboard input), then terminate the java thread.
However, I met a problem, How to terminate a running java thread from c++ code?
Here is my code, but it does not...
Hi,
I am implementing an B tree ADT. But I cannot figure out how to store an array of Pointers for the internal node of B tree.
I used a class called
template <class Object>
class OrderedList
to store the keys or records in a ORDERED LIST
But I cannot store pointers in a ORDERED LIST...
Hi, all:
I met a problem while executing the following code.
I need to check the vector to see if it is empty, if yes, remove the first element and process it. else go to the loop again.
While(true){
if(myVec.isEmpty()==false){
myObject=(myObject)myVec.remove(0);
//next...
Hi,
I created a merge replication for two databases. I would like to drop a table(article) now. But it seems do not allow me to do so.
I also checked the stored procedures where I can only find sp_repladdcolumn and sp_repldropcolumn, but not how to drop tables, does anyone have any...
I need to create a table, in which there is a field called Description, i try to make it as VARCHAR2 size 10k, but the max length of VARCHAR2 is 2k, is there any other type that can have a size bigger than 2k?
How to define a string field whose size is bigger than 2k in Oracle?
Mollusk
Now I have another problem.
I run a server in an eternal loop.
I need to close the socket after I press ^c, so I use
signal(SIGTERM,cleanEXIT);
signal(SIGINT,cleanEXIT);
Then in the top of the program.
I use :
int listenfd;
void cleanEXIT()
{
close(listenfd);
/* clean up the garbage...
I run a sample http server in an eternal loop.
I need to close the socket after I press ^c, so I use
signal(SIGTERM,cleanEXIT);
signal(SIGINT,cleanEXIT);
Then in the top of the program.
I use :
int listenfd;
void cleanEXIT()
{
close(listenfd);
/* clean up the garbage processes*/...
Hi, everybody:
I used coldfusion for the website of my company since this August. Everything works fine, except one minor problem:
In my program, before I write anything into the database, every informaiton is stored in the session, including price, quantity, totalprice... And the...
hi:
The problem is that:
How do I find a machine I tracerouted is a
NON-EXISTANT machine or is just running down(not responding)?
Is there a way when I looked at the packets to see any difference between them?
thanks
Hi, everyone:
I am using sun solaris. I tried to use "arp" to read arp table information and find that each arp entry has a timeout value.
Is there a way that I can find the arp timeout value for each entry in my arp table of the local machine.
Thanks
any ideas? about how to validate URL: <br>for example: <A HREF="http://www.abc.com" TARGET="_new">http://www.abc.com</A><br><br>One more question:<br><br> How to enable both my own Javascript form validation and Coldfusion form validation at the same time when submit a form?<br><br>Thanx in...
inside cfoutput, I output my SELECT query<br><br><cfoutput query="abc"><br> <tr><br> <td><br> #abc.Name#<br> </td><br> <tr> <br></cfoutput><br> <br>But I wish to disply two <td> in one...
Hello:<br> <br>Can i get help about my problems in designing web pages of Coldfusion?<br> <br>In my Database, there is a table called Category ,contains all the three levels of categories in my listing. <br><br>each record has a category name and a parent which points to his father...
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.