No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
How can I add a clickable url in a JTextPane like this [url]http://www.google.com[/url] or If I ask other way, how can I make the links in JTextPane clickable ? When the user click or double click this link the default browser will open the link that is clicked. I have … |
|
Re:
i am new to minimax algorithm. while searching in google i could roughly understand the basics of minimax. i do have a doubt in using it for tic tac toe. at each stage max will choose the node with maximum value in its child. but how do we evaluate the … |
|
there is a string like [CODE] 0123456789 string a = "25 + 5.6 - (54 - (-61))" a[0] = 2 a[1] = 5 2 = 3 = + 4 = 5 = 5 6 = . 7 = 6 8 = 9 = - 10 = 11 = ( 12 … |
|
I want a list that include matrixes (not implementing matrix as a list) . and I will add matrixes when I want. Is it the best way to take a dymamic memory with matrix size(row*column) and add the pointer that reference matrix to the list. But in this way, if … |
|
İs it possible now to use a system call in module programming ? after I "make" the module below I am getting warnings like that no errors WARNING: "sys_getcwd" [/home....mod/mod01/mod01.ko] undefined! [code] /* * hello-5.c - Demonstrates command line argument passing to a module. */ #include <linux/module.h> #include <linux/moduleparam.h> #include … |
|
Re:
I have installed the latest Ubuntu for notebook on my Acer Aspire 4715Z Pentium Dual-Core for last several months- working very smoothly & enjoying the "new world." I thought I never need to go back to Windows(rarely) - but yesterday as I updated the Update Manager and restarted it as … |
|
I have GradeBook.h that include class interface, GradeBook.cpp that include class implemantation, I want to make a lib file and use it with GradeBook.h on the other project. How can I do that ? I am using Windows 7, VS 2008 |
|
When the user press a key in desktop or console or a browser or anywhere. I want to get the key that is pressed by user. I found something about that I can make my intterrup handler (IRQ) but if I change the original interrupt handler, the computer must be … |
|
The functions are like that: if I press "ctrl + h" or '*' the system will print to the logs the system time(in module programming with printk.), if I press "ctrl+ p" or '-' the system will print to the logs process list and no mattrer if I press the … |
|
do_gettimeofday(&tv1) current_kernel_time() do_gettimeofday function returns a value like that when the time was about 21:42: "1260819441.705069" and current_kernel_time() function returns a value similar to do_gettimeofday's value. the print code is for tv1: [CODE]len += sprintf(buf,"%10i.%06i\n",(int) tv1.tv_sec, (int) tv1.tv_usec);[/CODE] I don't know what these functions returns which time. I want to … |
|
"1260819441.705069" this is probably the seconds that last 1.1.1970 to now |
|
I want to make a module that print console, current folder name like pwd, but I don't know how with system calls ? or something else ? if system calls, what is the system call of that ? and how can I use this system call on my module.? |