Description:
The object-oriented C++ language.
|
|
|
Possible to call a function to "many" times?
|
| |
I have a function "transform" that gets called for each voxel/pixel in a 3D volume. Currently I am using data which contains 128*128*128 pixels. In the function "transform" a search function on a kdTree is called for each pixel. An array of closest neighbors are returned which might vary in size. But when I run the code I get the error:... more »
|
|
Copying varied types
|
| |
Hi c.l.c++, Suppose I have a fairly complex class hierarchy. All the classes in the hierarchy have "child" pointers (one or more) so that a big tree of these objects can be built. But the catch is that each node in the tree can be any type (in the hierarchy). Now, I want to write a function to walk that tree and... more »
|
|
Portability and marshalling integral data
|
| |
In the past there's been discussion about how using memcpy to assist marshalling integral data should be avoided due to portability reasons. From some very limited testing themore portable approach that uses bit shifting to output/marshall integral data is roughly 10 to 15% slower than using memcpy.... more »
|
|
I don't have to tell you...
|
| |
I don't have to tell you C++ is bad. Everybody knows C++ is bad. It's an OOP language. Everybody's tired of the STL or scared of using templates. An hour of coding accomplishes five minutes worth, software companies are going bust, programmers keep a resume in the desk drawer. Shitty javascript is running wild on the web and there's nobody anywhere who seems to know... more »
|
|
BoostCon 2010: 2nd Call for Participation
|
| |
Please distribute! ------------------------------ -- 4th Annual Boost Conference 2010 ------------------------------ -- Aspen CO, USA, May 4-10, 2010, [link] 2nd Call for participation ---------------------- We invite you to submit session proposals to the 4th Annual Boost Conference: BoostCon 2010 (Aspen CO, USA, May 10-14, 2010).... more »
|
|
Good Manners
|
| |
1-Muhammad (PBUH) as a Teacher From Muhammad's Sayings: Bin Mas'ud (may Allah be pleased with him) reported that the Prophet said, "Do not wish to be like anyone except in two cases. (The first is) A person, whom Allah has given wealth and he spends it righteously; (the second is) the one whom Allah has given wisdom (the... more »
|
|
|