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

Search:

Type: Posts; User: RyuMaster

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    366

    Swith bettwen 2 DirectX applications

    Hi! I wonder, is there some possibilities to make what I want:

    1. I have renpy library, that is python written visual novel engine.
    2. And I have Unity3D, C#, DirectX 10, which can load plugins....
  2. Replies
    2
    Views
    654

    Friend class and pointer function

    Hi! I need help with understanding this block of code, particullary this line: *getLeftChild() { return this - _child; }




    public class UpperNode
    {
    BOX _box;
    int _child;
  3. Replies
    8
    Views
    650

    Re: Why "char" is inside "int" loop?

    Thank you everyone, it is totally clear to me now. Also I'll postpone my porting job for a while and will go read more into pointers, seems like that pointers are bottleneck of difference between C++...
  4. Replies
    8
    Views
    650

    Re: Why "char" is inside "int" loop?

    Thank you. Probably looping using pointers has some speed gain, but really, that is my 3rd question regarding C++ and solution is related to pointers again. Next time I stuck, I'll just go back and...
  5. Replies
    1
    Views
    374

    Re: "operator" like in C++?

    Please ignore this question, I've got answer already in other topic, it is called "operator overloading";
  6. Re: Help me port line of code with "operator"

    Thank you very much, seems like my original thought was misleading, but now I see what it does exactly and can port it. It is very good to know names of such things, and now I can also google "...
  7. Replies
    8
    Views
    650

    Why "char" is inside "int" loop?

    Can someone explain this to me:


    ......
    static char str[BIG_STRING];
    static char str_copy[BIG_STRING];
    char **words;
    int max_words = 10;
    int num_words = 0;
    char *ptr,*ptr2;
  8. Replies
    1
    Views
    374

    "operator" like in C++?

    Hi! I need to rewrite this from C++ to C#



    FORCEINLINE bool operator == (const edge2f &other) const
    {
    return (_vids[0] == other._vids[0] && _vids[1] == other._vids[1]);
    }
  9. Help me port line of code with "operator"

    Hi! I need to rewrite this from C++ to C#



    FORCEINLINE bool operator == (const edge2f &other) const
    {
    return (_vids[0] == other._vids[0] && _vids[1] == other._vids[1]);
    }
  10. Replies
    7
    Views
    861

    Re: Convert this line from C++ to C#

    Thank you, using "address-of" keyword I was finally able to find what is was about. I'm confused not really about address, but about that part: tris[first_tri]

    In C#, that would mean, that I'm...
  11. Replies
    7
    Views
    861

    Re: Convert this line from C++ to C#

    I have another problem, need to understand how that line of code works:
    function calling in C++:
    split_tris(&m->tris[first_tri], num_tris, axis, coord);

    and actual function is...
    ...
  12. Replies
    7
    Views
    861

    Re: Convert this line from C++ to C#

    Thank you, so I assume it is just safe to convert it to actual function? Wonder why use #define in the first place at all, but I'll just make static function from it then.
  13. Replies
    7
    Views
    861

    Convert this line from C++ to C#

    Hi!

    #define ROTATE(a,i,j,k,l) g=a[i][j]; h=a[k][l]; a[i][j]=g-s*(h+g*tau); a[k][l]=h+s*(g-h*tau);

    I have this line in C++; I have no idea how to represent it in C#. Is taht some kind of inline...
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center