Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: Darkmeerkat
Forum: Java May 14th, 2009
Replies: 1
Views: 223
Posted By Darkmeerkat
In the course of writing some throw-away code, I ran into a weird problem with static methods. I've defined a static method that's supposed to return a Double, but Java insists that it's returning...
Forum: PHP Nov 12th, 2007
Replies: 22
Views: 2,748
Posted By Darkmeerkat
What's get_header? It's not a PHP function, and you've not defined it in the code you've posted, so PHP doesn't know what you're trying to do. If you want to include 'header.php' in your file, use...
Forum: PHP Nov 12th, 2007
Replies: 2
Views: 1,605
Posted By Darkmeerkat
Aha! I learned of a much cleaner and quicker way to do this. It turns out PHP provides a function just for circumstances in which you need to call these kinds of functions variably,...
Forum: PHP Nov 11th, 2007
Replies: 2
Views: 1,605
Posted By Darkmeerkat
I've hacked a solution out to my own problem; it's a really messy hack, but it seems to work. Instead of calling bind_param directly, I use create_function so I can dynamically generate the call to ...
Forum: PHP Nov 10th, 2007
Replies: 2
Views: 1,605
Posted By Darkmeerkat
I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use mysqli_bind_param without knowing the number of variables I'm binding. Here's what I've...
Forum: C++ Feb 27th, 2007
Replies: 8
Views: 1,643
Posted By Darkmeerkat
Thanks, I can do that.
Just out of curiosity, is there any way to write this with more of a "RAII (http://en.wikipedia.org/wiki/RAII)"-ish behavior, without having to split acquisition and...
Forum: C++ Feb 27th, 2007
Replies: 8
Views: 1,643
Posted By Darkmeerkat
I'm having some trouble understanding how Exceptions thrown from constructors work...

Let's say I have a class like this:

class A {
public:
A() {
if( error )
...
Forum: C++ Jun 26th, 2006
Replies: 4
Views: 1,344
Posted By Darkmeerkat
That worked, thanks!

That was just a simple example; the program I was having trouble with was kind of long, so I figured I'd just make a smaller one that cut right to the problem.

Thanks for...
Forum: C++ Jun 26th, 2006
Replies: 4
Views: 1,344
Posted By Darkmeerkat
Hello,
I've got three files, main.cpp, test.h (the header file), and test.cpp, (implementation of test.h).

Both main.cpp and test.cpp #include test.h, but I don't seem to be able to get test.h to...
Forum: JavaScript / DHTML / AJAX Jun 3rd, 2006
Replies: 3
Views: 7,966
Posted By Darkmeerkat
That's in Internet Explorer; Firefox will refuse to close the window at all.
(And the "fullscreen" window Firefox generates will just be a normal size windows sans the top toolbars.)
Forum: HTML and CSS Jun 1st, 2006
Replies: 10
Views: 7,720
Posted By Darkmeerkat
Several forum packages are available for free, almost all of them are written in the PHP (http://www.php.net) language alongside a MySQL (http://www.mysql.org) database. You will want to make sure...
Forum: PHP May 31st, 2006
Replies: 2
Views: 871
Posted By Darkmeerkat
PHP's official documentation (http://www.php.net/docs.php) is very thorough; they also maintain a complete and documented list of PHP's functions (http://us2.php.net/search.php).
Tizag.com...
Showing results 1 to 12 of 12

 


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

©2003 - 2009 DaniWeb® LLC