Search:
Type: Posts; User: wien
Search:
Search took 0.22 seconds.
-
February 24th, 2007, 02:15 PM
A bit OT, but here's a link to an article on the origin of the function in question: Origin of Quake3's Fast InvSqrt(). Doesn't go too much into detail, but you might find it interesting. It also...
-
February 14th, 2006, 04:55 AM
Wow. Thanks. :) I've been in lurk-mode for a while now, so I didn't expect this. Really appreciate it.
And, no. I'm not from Wien (Vienna). :) Wien's my last name.
-
December 22nd, 2005, 11:33 AM
Yep. The actual javascript code is not really the problem. I have a rather large server-side component generating all the 'td's and associated code, and I would have to throw that around a bit to be...
-
December 21st, 2005, 01:18 PM
Just found this... Apparently the 'tr' element's innerHTML property is read-only, so that would explain why it doesn't work. (A descriptive error message, as opposed to a crash, would help...
-
December 21st, 2005, 09:22 AM
Hi guys. I've been wrestling with a problem with IE's script engine crashing the last couple of hours, and quite frankly, I'm stumped.
I have a page with a table in it, and inside this table I...
-
July 11th, 2005, 04:46 AM
Well, I'm no standards wiz, but I am fairly certain that a temporary should only stay alive as long as the expression it's in (i.e. to the ; after it). (EDIT: Unless it's bound to a const reference)...
-
July 10th, 2005, 02:52 PM
Basically, there are a lot of little mistakes in your code. I won't go into the details here (unless you want me to), but I fixed up your code so you can take a look at it youself.
#include <list>...
-
July 10th, 2005, 09:36 AM
It's perfectly safe. The temporary std::string will remain alive as long as the reference to it is alive. (To the end of the function call)
-
-
Or boost::condition on both platforms. (and many others)
-
Thanks, I'll take a look at it.
-
Yep, there is actually. The files being uploaded are zip files, and I simply want the contents of them, I don't need the zip itself. Therefore I need to temporarily store the ZIP until I have...
-
Sorry about that. Early start this morning. :)
I want to write an uploaded file directly into a file created through the tmpfile() function. This function only returns a file-handle, and you can't...
-
Hi. I have a problem where I have to be able to write an uploaded file directly into a file opened by fopen (Or more specifically, tmpfile). The only way I have found for saving an uploaded file, is...
-
This is just as easy in C++.
#include <string>
...
std::string var1("4");
if(var1.length() < 2)
{
var1 = '0' + var1;
}
-
Viggy is right. For the WinXP install (including repair mode) to be able to detect your S-ATA drive, you need to load drivers for your controller first. I certainly have to do that on my computer,...
-
Just to add to what marten said.
In this case, concept checks and type_traits work in exactly the same way (More or less), so the difference is not that great, though concept checks may result in...
-
As you wish...No == operator is provided by default. If you want one, you have to make it yourself.
-
June 29th, 2005, 05:08 PM
Ask, and ye shall recieve. :)I was talking about the CRTP (Curiously Recurring Template Pattern) classes in boost, not the event_list/vector relationship. They are used to implement a lot of...
-
June 29th, 2005, 04:28 PM
Sure.. I can agree to that. I just stated my personal preferenece when it comes to learning stuff like this. I have always found getting what I want to do done quickly somewhere up in the layers, is...
-
June 29th, 2005, 03:40 PM
Sorry... But I feel that is like saying someone should learn assembly first when they want to learn C++. There is a reason why we have high level abstractions like MFC and Windows Forms, and that is...
-
June 29th, 2005, 03:28 PM
As for the problem with the executable project linking against the filesystem library, that is because you include the path.hpp header. That header includes filesystem/config.hpp and that in turn...
-
June 29th, 2005, 11:43 AM
We do. There's enough oil and gas in the north sea to keep us going another 40 years or so. The problem is that most of the money we make off of that is going into the aptly named petroleum fund,...
-
June 29th, 2005, 10:15 AM
Aaah.. Finally a competition Norway can win hands down. We're at $1.72 (US) per liter now. (95 octane non-leaded) And that is with gas-stations almost selling at a loss.
-
June 26th, 2005, 05:35 PM
You could always make a namespace and put the fuction in it. Or just name it better.. write_event, like you said yourself.Boost has an excellent solution for that. Static assertions. You could just...
|
Click Here to Expand Forum to Full Width
|