Is it possible to access the iSight camera on a macbook programatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using objective c, or could other languages be used as well?

Wow. This is how statistics should be presented all the time. Heck, it would be fun just to watch this even if it wasn't dealing with sex, but, say, the kind of stuff kids build in the sand on the playground.

The error message that GCC gives shows that your version of GCC still had a bug that is only resolved in GCC4.7 trunk versions. Older versions, including GCC4.1 will happily accept following code
template<typename T>
struct A {
void f(int) { }
};
template<typename T>
struct B : A&...

@DeadMG it is possible that the world of problems that one may solve programmatically, is somehow a little non-trivial, i.e. that it's about inherent problem domain complexity rather than suckability of the language at hand

I was wondering if you guys could help me, im a graduate in computing and this week I have a technical test in C++ for a graduate position at a company. Has anyone had any experience of these tests and what could I expect in them? The test is 2 hours long

@jalf all i have been taught in C++ is creating console applications and using the STL. The most advanced stuff I created was a Binary Sort Tree but I also know alot of software developing theory in abstract classes, polymorphism and sorting

Im hoping that will be what they are wanting, I hope they will go easy on me as I am a graduate

In the field of translation, a translation unit is a segment of a text which the translator treats as a single cognitive unit for the purposes of establishing an equivalence. The translation unit may be a single word, a phrase, one or more sentences, or even a larger unit.
When a translator segments a text into translation units, the larger these units are, the better chance there is of obtaining an idiomatic translation. This is true not only of human translation, but also in cases where human translators use computer-assisted translation, such as translation memories, and also when tra...

@TonyTheTiger in short, think of it as the symbol's scope at link-time. External linkage means that it is visible to other translation units (as in, code in other TU's can link to it). I can't remember the exact definition of internal vs no linkage, but I believe internal linkage means other code in the same TU can link to it, but other TUs can't see it. No linkage means that it's not even visible to the rest of the TU (think of a local variable which only exists inside a function, for example)

but if you want to be sure, look it up in the spec. Should be fairly easy to find, since they're so specific terms

I am just trying to wrap my head around what an InputIterator and OutputIterator in C++ actually are. Now, until now, I always assumed that the definitions I have always known of Input and Output also applied to iterators.
So that means that Input is "to place into something", meaning you can...