Search Results

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: death_oclock
Forum: C 18 Days Ago
Replies: 12
Views: 509
Posted By death_oclock
A good beginning sort algorithm is the Bubble Sort (http://en.wikipedia.org/wiki/Bubble_sort)
Forum: PHP Mar 3rd, 2009
Replies: 8
Views: 1,547
Posted By death_oclock
Well since this is a PHP forum, i'll give you a PHP solution. You could pass the css file for the iframe to use in the url like so:
<iframe id="pframe" width="'.$game['iframewidth'].'"...
Forum: C++ Mar 1st, 2009
Replies: 12
Views: 639
Posted By death_oclock
Try posting a sample file generated by your program. Off the top of my head, I can't think of anything that would cause this.
Forum: PHP Feb 26th, 2009
Replies: 10
Views: 1,122
Posted By death_oclock
Try looking at this page (http://hudzilla.org/phpwiki/index.php?title=Advanced_text_searching).
Forum: C++ Feb 21st, 2009
Replies: 6
Views: 432
Posted By death_oclock
When AncientDragon wrote Code[h] != 0, his code was correct. Yours isn't. Why? AncientDragon's codes array was a string literal, which automatically has a '\0' or 0 value at the end. Your array does...
Forum: C++ Feb 15th, 2009
Replies: 2
Views: 517
Posted By death_oclock
The problem practically gives away what you need to do. Have you been to class at all? Taken any notes? All you need is a simple (very simple) loop, a few counters, and the basic math knowledge to...
Forum: C++ Feb 13th, 2009
Replies: 65
Views: 3,342
Posted By death_oclock
The first parameter, hWnd (passed NULL) is the window to associate the new process with (NULL means you aren't using this feature).

The second, lpOperation, is what you want to do with the file...
Forum: C++ Feb 12th, 2009
Replies: 5
Views: 384
Posted By death_oclock
You're right, it is being used differently. In this case, it is passing the object by reference, which is just C++'s shortcut around pointers. It just means anything you do to the parameter within...
Forum: PHP Feb 11th, 2009
Replies: 24
Views: 962
Posted By death_oclock
<td width=""><p><?php echo wordwrap($message, 75, "<br />", true); ?></p></td> Change 75 to whatever width you want.
Forum: C++ Feb 8th, 2009
Replies: 12
Views: 625
Posted By death_oclock
It will not modify and addresses but it will set all of the values of shoe_copy to the values of shoe1. It wont call a copy constructor. I have seen this called a "shallow copy" (here...
Forum: PHP Feb 2nd, 2009
Replies: 9
Views: 432
Posted By death_oclock
Put this:
if (!$user_check) {
die('Invalid query: ' . mysql_error());
}
in between this:
$user_check = mysql_query("SELECT userdb_user_name FROM default_userdb WHERE...
Forum: C++ Jan 29th, 2009
Replies: 11
Views: 1,496
Posted By death_oclock
Compress the sound beforehand, then apply the gain. Try here (http://en.wikipedia.org/wiki/Dynamic_range_compression) for some info on dynamic range compression.
Forum: C Jan 18th, 2009
Replies: 6
Views: 776
Posted By death_oclock
http://www.daniweb.com/forums/announcement118-2.html
If people would READ once in a while, we would all be spared a whole lot of trouble.
Forum: C++ Apr 18th, 2008
Replies: 11
Views: 1,517
Posted By death_oclock
You could use the WinAPI file functions (http://msdn2.microsoft.com/en-us/library/aa364232(VS.85).aspx) which allow you to set sharing permissions (as well as other flags and such for the sort of...
Forum: C++ Apr 18th, 2008
Replies: 10
Views: 1,063
Posted By death_oclock
He didn't mean you should change it to 0, he meant thats what your code equated to. He meant you should either set or prompt for a product number. The first product in the display is still zero...
Showing results 1 to 15 of 15

 


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

©2003 - 2009 DaniWeb® LLC