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

Search:

Type: Posts; User: mariano_donati

Search: Search took 0.02 seconds.

  1. Strange behaviour while flipping - DirectDraw

    Hi,

    I'm trying to develop my own 2d game engine. I'm using DirectDraw for it.
    When I call an odd number of times the method Flip() it works as expected, but if I call the same method an even...
  2. Replies
    5
    Views
    1,040

    Re: String2DataType function

    Thank you all for your replies. I changed the implementation so I won't require to do it, it was a poor design that has thrown me to the place I needed to do that.
    I was sending serialized objects...
  3. Replies
    5
    Views
    1,040

    String2DataType function

    Hi,

    I want to implement a function that take a given a string and return, if it exists, a data type so it can be used for casting later. Here's an example of what I'd like to accomplish:

    ...
  4. Replies
    4
    Views
    1,061

    Re: Waiting Threads queue

    You're right, and that's why I change the design of it. I realized that I don't care the order in which each threads executes, but I do care the order in which the task completed callback associate...
  5. Replies
    4
    Views
    1,061

    Re: Waiting Threads queue

    What happens is that I'm implementing kind of Reliable Data Protocol, and I use asynchronous operations over the socket. When I receive some message I need to process it. Right there is where I block...
  6. Replies
    4
    Views
    1,061

    Waiting Threads queue

    Hi,

    I have a method that uses an AutoResetEvent to synchronize threads. I need to guarantee that the first thread acquiring the lock is the one that continues its execution at first after the...
  7. Replies
    0
    Views
    1,279

    Implementing RDP

    Hi,

    I need to implement reliable UDP sockets. I found a library for .Net (Lidgren.Network) but I want to make my own since I don't know whom has experienced with it and their results.
    I read RDP...
  8. Replies
    2
    Views
    617

    Re: Sending client events as images

    Thanks for your reply. I think that'd be a valid solution.
    Anyway, I'm thinking about sending UDP messages from player to observer. Since each image would have around 1 or 2 Kb I think is a good...
  9. Replies
    2
    Views
    617

    Sending client events as images

    Hi to everyone,

    I'm developing a multiplayer board-like game (kind of a card game). At every match being played, can exist many observers of it, so the players needs to send their events to the...
  10. Re: Wear behaviour while deleting a reference

    What do you mean by list element? is that the whole stack?.
    Thanks for reply.
  11. Wear behaviour while deleting a reference

    I'm just trying to understand how c++ works. I'm trying to implement a stack with linked lists.
    Here's my code:

    Stack.cpp


    namespace DataStructures
    {

    template <class T>
  12. Replies
    5
    Views
    831

    Re: How to avoid out of bound indexes

    You're right about that. I was trying to implement a stack of int using a pointer to int, now I'm trying to figure out how to implement this with linked lists.
    Regards.
  13. Replies
    5
    Views
    831

    Re: How to avoid out of bound indexes

    You're right, even that don't help. I supposed the wrong. I'm gonna take a look at that class.
    Regards.
  14. Replies
    5
    Views
    831

    How to avoid out of bound indexes

    Hi. Suppose I have this code:




    int* values = new int;

    values[23030200] = 2;
  15. Re: how to declare and initialize an object in different lines

    Thanks!. I don't know why in these tutorials is not mentioned pointers topic.
    JVene: your idea is nice too.

    Best regards!.
  16. how to declare and initialize an object in different lines

    hi to everyone. I'm new to this forum. I download a couple of tutorials about learning c++ programming from the beginning. I develop with c# and java. I have a notion about c as well.
    The thing is...
Results 1 to 16 of 16





Click Here to Expand Forum to Full Width

Featured