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

Search:

Type: Posts; User: razzle

Page 1 of 21 1 2 3 4

Search: Search took 0.03 seconds; generated 14 minute(s) ago.

  1. Re: What is The Best Language To Develop An Applications For POS System

    What's POS? Point of Sale?

    With no information whatsoever the best languages are Java, C# and C++ because these are the dominant modern mainstream languages.

    Since it's your project I suggest...
  2. Replies
    7
    Views
    234

    Re: [RESOLVED] Going through gates

    Although the formulation I suggested (shortest alternating (red-blue) path in a directed graph) will work and seems fairly standard I cannot promise it will be better than your article and I haven't...
  3. Replies
    7
    Views
    234

    Re: [RESOLVED] Going through gates

    Too bad. :)

    I was about to suggest a formulation based on the shortest alternating path in a directed graph. The "alternating" comes from the fact that people are moving back and forth through...
  4. Replies
    7
    Views
    234

    Re: [RESOLVED] Going through gates

    Thank you. I wasn't sure I understood the problem so I just made the proposition in my previous post in the hope the OP would return and discuss.

    It looks like an optimal strategy involves...
  5. Replies
    7
    Views
    234

    Re: [RESOLVED] Going through gates

    Yes it seems like an optimal strategy. The person with the lowest time carries the item all the time. This item-carrier is then accompanying one person at a time through the gate and is then...
  6. Thread: check type

    by razzle
    Replies
    3
    Views
    139

    Re: check type

    C++ offers little but still some support for runtime type checking. It has its uses but shouldn't be overused, especially not to hide design flaws.

    http://en.cppreference.com/w/cpp/language/typeid
  7. Re: what is dollar sign ----- prefix, postfix infix

    So when you do your own exponentiation (represented by operator ^) you don't get the same result as if you do exponentiation as suggested by someone else on the net (represented by operator $).
    ...
  8. Replies
    2
    Views
    147

    Re: A tree-like data structure inspired by XML

    Based only on the quote above it seems a tree would be your preferred choise if it wasn't for the repeated subnodes?

    But if there are many copies of a sub-branch in a tree they can be replaced by...
  9. Replies
    1
    Views
    137

    Re: challenging question(complexity)

    http://forums.codeguru.com/showthread.php?549329-topics-about-lists-3-hard-questions
  10. Replies
    3
    Views
    213

    Re: topics about lists 3 hard questions

    This is not a puzzle anymore like the ones you posted before (which tests general logical aptitude).

    This is a knowledge question you must work out on your own because otherwise you're no...
  11. Replies
    6
    Views
    266

    Re: Variable declaration syntax?

    Going forward with C++ 11, Stroustrup has this example (6.3.5 Initialization),

    X a1{v};
    X a2 = {v};
    X a3 = v;
    X a4(v);

    He strongly recommends the first one. Still, as die hard C programmer...
  12. Thread: data structure

    by razzle
    Replies
    2
    Views
    203

    Re: data structure

    F is called 70% of the time. That means F is not called 30% of the time and during that time G is called 30% of the time. So G is called 30% of 30% of the time which is 9% of the time.
  13. Replies
    2
    Views
    207

    Re: anyone explain this to me??

    You only need to know that a = b mod m means a<m.

    First have a look at proposition i. On the left side a+x must be smaller than m+m but on the right side b can be infinitely big so this...
  14. Re: bayesian modeling and linear thresholding method in histopathological image

    How well aquainted are you with the method you want to implement? Can you describe it in precise steps preferably mathematically? That's how you develop an algorithm. You always do that before you...
  15. Re: bayesian modeling and linear thresholding methods

    It's better to continue on the same thread,

    http://forums.codeguru.com/showthread.php?549283-bayesian-modeling-and-linear-thresholding-method-in-histopathological-image
  16. Replies
    6
    Views
    266

    Re: Variable declaration syntax?

    It's an alternative to,


    SensorBase* const sensor = mSensors[i];
  17. Re: algorithm for grouping different elements from multi dimensional matrix

    Sure, the algorithm I suggested will solve the problem but not necessarily in the most efficient way. Also there are quite a few details left such as for example,

    1. How to check for BC in the...
  18. Re: bayesian modeling and linear thresholding method in histopathological image

    This seems to be a recent review article of possibilities,

    http://www.sersc.org/journals/IJAST/vol62/6.pdf

    See fig. 2.
  19. Re: algorithm for grouping different elements from multi dimensional matrix

    Well, this problem looks like a set cover problem and in that case it's in NP. This means any polynominal "whiz" solution can only be approximate. But the problem can still be solved of course only...
  20. Replies
    12
    Views
    2,247

    Re: Number of pixels at radius r

    Another approach is to actually "draw" the circle using a circle drawing algorithm. See the example C# implementation here,

    http://en.wikipedia.org/wiki/Midpoint_circle_algorithm

    You could...
  21. Re: Searching for max value between two 2-3 Tree leafs

    I've never worked with 2-3 trees but it seems they're used because they're balanced. It means the fact that it's a 2-3 tree doesn't really influence your question right? It could be any search tree....
  22. Replies
    11
    Views
    562

    Re: what programming language should I learn?

    Well, experience comes from doing by yourself.

    Meekly succumbing to the consensus of a group is not obviously better than boldly going it alone learning by trial and error. Which is better very...
  23. Replies
    11
    Views
    562

    Re: what programming language should I learn?

    Well okay, I'm willing to soften that to: Java is arguably the best (*) all-around language.

    If you still think I'm wrong please motivate. :)

    (*) For an unexperienced programmer of high-school...
  24. Replies
    3
    Views
    239

    Re: Question I had ..About sorting algorithms

    In a counting sort you would need an array of size max(m^2, n^3) for the counting.

    To set up the counting array you need to first scan the (n+m) size array once but then you also need to scan the...
  25. Replies
    11
    Views
    562

    Re: what programming language should I learn?

    If you're in high-school and feel drawn to programming I think you should do everything you possibly can to get into a well reknown college/university and pursue a degree in some...
Results 1 to 25 of 521
Page 1 of 21 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