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

Search:

Type: Posts; User: S@rK0Y

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,189

    Re: IF-free conception.

    Hi, Dave. here we got really comic situation: at C-level, it's if-free code, but compilers provide horrible amount of conditional jumps in the Asm output. :eek: in short, i see only solution: to...
  2. Replies
    6
    Views
    1,189

    Re: IF-free conception.

    D_Drmmr, code in the blog cannot be compiled because pointers must be casted to integers, then sum of addresses is casted back to pointer. actually, it's all done in the source. But(!) i used trick...
  3. Replies
    2
    Views
    386

    Re: Find sequence Term For set of Numbers

    it fully depends upon what operations you permitted to use. Just arithmetic ones???
  4. Replies
    6
    Views
    1,247

    Re: Very simple recursive algorithm

    something like that?


    void cntZeros(int *a, int len, int *cnt, int* index){
    if(a[index]==0) *cnt++;
    index++;
    if(*index<len)cntZeros(a, len, cnt, index);
    return;
    }
  5. Replies
    6
    Views
    1,189

    IF-free conception.

    Good Time to all, Amici(Friends).

    Here, i'd like to discuss how to reduce conditional branches in the code. 1st of the all, i would like to share some tricks. Their description is here :)...
Results 1 to 5 of 5


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center