Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RoboTact

Page 1 of 80 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    19
    Views
    2,941

    Re: matrix algorithm

    Right...
  2. Replies
    19
    Views
    2,941

    Re: matrix algorithm

    A linear function of what? Of current year?
  3. Replies
    16
    Views
    1,414

    Re: Use of operator keyword

    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...
  4. Replies
    16
    Views
    1,414

    Re: Use of operator keyword

    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...
  5. Replies
    16
    Views
    1,414

    Re: Use of operator keyword

    Well, technically yes, but that'd be crazy, especially at this level of experience. :rolleyes:
  6. Replies
    19
    Views
    2,941

    Re: matrix algorithm

    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...
  7. Replies
    6
    Views
    2,350

    Re: Concave down array ....

    Google gives this answer at first line: http://www.mathwords.com/c/concave_down.htm
  8. Replies
    8
    Views
    713

    Re: Application framework design question

    Hi fezztah,

    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...
  9. Replies
    16
    Views
    1,414

    Re: Use of operator keyword

    "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...
  10. Replies
    30
    Views
    97,060

    Re: how to create directory in c++

    You'll need to iteratively create enclosed folders: first c:/face, then c:/face/images.
  11. Replies
    7
    Views
    3,039

    Re: HSV or RGB for Lips detection?

    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.
  12. Replies
    38
    Views
    45,157

    Re: Color Detection Algorithm

    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...
  13. Replies
    7
    Views
    3,039

    Re: HSV or RGB for Lips detection?

    Maybe target color is off? What do you mean by 'failed to locate'?
  14. Replies
    14
    Views
    1,124

    Re: template design question

    So what you need is adapter for controls, not many-property-setting-routines. Use templates to generate adapters for common properties.
  15. Re: problem on Theory of computation

    :eek:

    Given this definition, and assuming automata with permuted states are equivalent, aswer is <write correct answer here>... ;)
  16. Replies
    14
    Views
    1,124

    Re: template design question

    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...
  17. Replies
    14
    Views
    1,124

    Re: template design question

    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...
  18. Replies
    2
    Views
    2,509

    Re: Finding Closest Pair of Points

    http://www.cs.mcgill.ca/~cs251/ClosestPair/ClosestPairDQ.html
    first hit in google...
  19. Replies
    1
    Views
    952

    Re: Cutting rectangles

    It's simple dynamic programming problem. Create array 100x100 of answer caches and for each given rectangle optimize cutting in half.
  20. Replies
    28
    Views
    1,645

    Re: Are these c'tors legal or dangerous?

    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....
  21. Replies
    28
    Views
    1,645

    Re: Are these c'tors legal or dangerous?

    There're many final classes.
  22. Replies
    28
    Views
    1,645

    Re: Are these c'tors legal or dangerous?

    Yes, it's guaranteed. It has static storage duration.
    However there are problems with this class.

    CMyClass
    c1;
    char* str = c1.GetName();
    // is it OK to have "Default name" returned?

    char...
  23. Re: Help needed with code to scramble intermediate letters of a word

    Take a look at Collections.shuffle() method. ;)
  24. Replies
    68
    Views
    37,765

    Re: Fun C++ Problem

    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--)...
  25. Replies
    68
    Views
    37,765

    Re: Fun C++ Problem

    It's SLOW. It only parsed 30 symbols by now. Multithreading may help here.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center