Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: dandan
Forum: Shell Scripting Feb 24th, 2008
Replies: 1
Views: 2,339
Posted By dandan
cat /usr/local/apache/logs/error_log|grep "Access denied with code 406"|grep -o -P "(?<= \[error\] \[client )[^]]*"|sort|uniq>> /etc/blocklist
Forum: C Feb 22nd, 2008
Replies: 2
Views: 714
Posted By dandan
Java has variable-length argument lists.
Forum: Java Feb 21st, 2008
Replies: 7
Views: 770
Posted By dandan
http://en.wikipedia.org/wiki/Object-oriented_programming
Forum: C++ Feb 18th, 2008
Replies: 1
Views: 464
Posted By dandan
THREADPARAMS * pSocket;
pSocket->m_sServerSocket.Accept(m_sClientSocket);

pSocket is not initialized. You need to assign a valid value first.
Forum: Java Feb 10th, 2008
Replies: 3
Views: 9,425
Posted By dandan
for (j = 0; j < playerNum; j++)
{
for (k = (playerNum - 1); k > j; k--)
{
// j==k test not needed, k>j
...
Forum: C++ May 14th, 2006
Replies: 3
Views: 849
Posted By dandan
Visual Basic
- easier to learn

C++
- better performance
- more game libraries available
- can be portable to other platforms
Forum: C++ Jan 27th, 2006
Replies: 3
Solved: path
Views: 3,161
Posted By dandan
Look in MSDN for GetOpenFileName and SetSaveFileName functions.
Forum: Java Jan 25th, 2006
Replies: 27
Views: 10,676
Posted By dandan
System.out.println(Math.cos(Math.toRadians(90)));
System.out.println(Math.cos(Math.toRadians(270)));

gives

6.123233995736766E-17
-1.8369701987210297E-16

good enough for most purposes.
Forum: RSS, Web Services and SOAP Jan 24th, 2006
Replies: 5
Views: 5,213
Posted By dandan
You have to use Music OCR techniques. Check http://www.musitek.com/ for a product doing something similar. For the xml to midi part you have to look for the file format or library for writing midi...
Forum: PHP Jan 24th, 2006
Replies: 4
Views: 1,470
Posted By dandan
http://httpd.apache.org/download.cgi

Look for "Win32 Binary (MSI Installer)", download, run setup program, fallow the setup instructions.
Forum: Computer Science Jan 24th, 2006
Replies: 3
Views: 2,309
Posted By dandan
Computers can solve many math problems with the right algorithm and resources. It depends a lot on what kind of problems you want to solve and the available hardware.
Forum: Java Jan 24th, 2006
Replies: 27
Views: 10,676
Posted By dandan
Math.cos is using angles in radians. Try Math.cos(Math.toRadians(90)).

Second - I don't understand.

Try jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC