Type: Posts; User: RoboTact
Search took 0.10 seconds.
June 14th, 2008, 03:04 AM
June 12th, 2008, 11:26 AM
A linear function of what? Of current year?
June 11th, 2008, 09:40 PM
Yes, that's one of the goals of documentation: specifying the functionality informally, which doesn't always allow you to figure out all the details, but gives a feel of the picture. Just like when...
June 11th, 2008, 08:59 PM
If you are a complier, yes. OK, I agree that knowing about the uncertainty is useful, but education requires understanding at the level at which material is presented. The most important levels of...
June 11th, 2008, 08:03 PM
Well, technically yes, but that'd be crazy, especially at this level of experience. :rolleyes:
June 11th, 2008, 07:58 PM
To print out an answer, you need m numbers, and m is not constrained by n, so it won't be O(n) if m is much more than n. It's O(m+n). Your please-do-my-homework speech needs some work, it's...
June 11th, 2008, 07:49 PM
Google gives this answer at first line: http://www.mathwords.com/c/concave_down.htm
June 11th, 2008, 07:40 PM
So the main point of App instance is to store choices of implementations of various objects that may be needed from different points in the program. An App instance represents a...
June 11th, 2008, 07:24 PM
"const" after function name means that class itself isn't modified as a result of this member function call. Syntax is unusual for this case, you'd need to just get used to it, there is nothing to...
June 11th, 2008, 07:10 PM
You'll need to iteratively create enclosed folders: first c:/face, then c:/face/images.
November 22nd, 2007, 11:16 AM
Sorry, don't know this language, don't have time for that.
If it's not a one-off assignment, you should read some machine learning theory.
November 22nd, 2007, 05:48 AM
Or even better don't stick to particular representation and allow a class of transformations that covers RGB, HSV and more and learn parameters appropriate for you task from training data. You'd need...
November 22nd, 2007, 05:11 AM
Maybe target color is off? What do you mean by 'failed to locate'?
November 21st, 2006, 10:20 AM
So what you need is adapter for controls, not many-property-setting-routines. Use templates to generate adapters for common properties.
November 21st, 2006, 06:43 AM
Given this definition, and assuming automata with permuted states are equivalent, aswer is <write correct answer here>... ;)
November 21st, 2006, 06:10 AM
I see. Controls are external and you want to shorten function specifications by devising simple DSL.
You may want to check out Modern C++ Design book - there're many tricks like this you can do...
November 21st, 2006, 05:37 AM
Who owns the knowledge about identities of fields in property classes you need to get? About corresponding widget properties you need to set?
That is, can't these methods be just methods of...
November 14th, 2006, 09:12 AM
first hit in google...
November 2nd, 2006, 06:50 AM
It's simple dynamic programming problem. Create array 100x100 of answer caches and for each given rectangle optimize cutting in half.
October 29th, 2006, 12:48 PM
Good point, but the same could be done with ordinary default implementation method (declared separately) plus pure virtual method. All without these arcane pure-virtual-with-implementation things....
October 28th, 2006, 01:30 PM
There're many final classes.
October 28th, 2006, 11:18 AM
Yes, it's guaranteed. It has static storage duration.
However there are problems with this class.
char* str = c1.GetName();
// is it OK to have "Default name" returned?
October 20th, 2006, 10:55 AM
Take a look at Collections.shuffle() method. ;)
October 18th, 2006, 07:50 PM
VC++6 compiler was a lot faster (to fail on wrong code) - but still took 30 minutes on 1GHz machine. Result is that there are indeed only 3 solutions.
- at 24:
int i, n = 20;
for (i=0;-i<n; i--)...
October 18th, 2006, 02:38 PM
It's SLOW. It only parsed 30 symbols by now. Multithreading may help here.
Click Here to Expand Forum to Full Width