Search:

Type: Posts; User: gustavosserra

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,292

    Thanks for the help! :)

    Thanks for the help! :)
  2. Replies
    3
    Views
    1,292

    Automatic clicking

    Hi guys!

    How can I generate mouse clicks, using Windows or Linux? For example, the program could simulate a user clicking at a given position.

    Thanks any help!
  3. Replies
    8
    Views
    2,847

    Thank you all for the help. Altought it is not...

    Thank you all for the help. Altought it is not very clear what I must do I will work on the ideas.
  4. Replies
    8
    Views
    2,847

    Hi again!

    Thanks for all the help until now! :)
    Sorry, I forgot to tell that my game is 2D. Ok, I will post the piece of code that works for forward movement. In the code, x, y are the mouse coordinates....
  5. Replies
    8
    Views
    2,847

    Ship Movement

    Hi everyone!

    I am making a shooter game, where the player control a ship. The user moves accelerating with a keyboard key, but moves towards the mouse cursor. I had to use sin and cos functions to...
  6. Replies
    7
    Views
    2,156

    Also, visit msdn (http://msdn.microsoft.com) for...

    Also, visit msdn for documentation on the API.
  7. #include #include using...

    #include <iostream>
    #include <bitset>

    using namespace std;

    int main()
    {
    // 16 bits each
    short num;
  8. Replies
    13
    Views
    6,645

    Yes, I was thinking in context switching. My...

    Yes, I was thinking in context switching. My browser closed and my post was lost, so I didn't write it again, too lazy ;). I can't use a thread per object, imagine a super powerfull ship shooting at...
  9. Replies
    13
    Views
    6,645

    Pratip, I am using Windows. The argument of...

    Pratip, I am using Windows. The argument of Codeplug sounds very good to me, I agree that a creature has a thread. Inheritance seems a little dirty in this case. Sang-drax, I will use a vector *and*...
  10. Replies
    13
    Views
    6,645

    Thanks

    I have made this "model" (I was unable to test it, problems with SDL :(). What do you think of it?


    //header.h
    class Base{
    public:
    /* "p" is the data that the thread will run on,
    the...
  11. Replies
    13
    Views
    6,645

    Thread creation on virtual functions

    Hello everyone.
    I need help making (as everyone does) a game. There is a base class that implements some basic attibutes for moving objects. There are other derived classes that change the behavior...
  12. About size of the whole file

    Is there any way of discovering the size of the file? I know that I can read until EOF, in partial buffers, I am just curious about such a function.

    Thanks any help.
  13. Replies
    6
    Views
    1,782

    Canīt he use 8086 assembly and then run in XPīs...

    Canīt he use 8086 assembly and then run in XPīs compatibility mode?
  14. Replies
    10
    Views
    1,891

    Couldīt you use a struct with the 2 integers?

    Couldīt you use a struct with the 2 integers?
  15. Thread: realloc

    by gustavosserra
    Replies
    3
    Views
    1,160

    Thanks!

    Thanks!
  16. Thread: realloc

    by gustavosserra
    Replies
    3
    Views
    1,160

    realloc

    Do I need to free the old pointer that I pass to realloc?
    Thanks any help!
  17. Replies
    2
    Views
    1,278

    typedef meaning what?

    Hi all! What does it means:

    typedef int user_request[BUFFER_SIZE];
    Is it an array of integers??? If not, how can I typedef an array of integers? It can't be dynamic, and the code is not my, so I...
  18. Replies
    7
    Views
    3,572

    Ok! Thanks!

    Ok! Thanks!
  19. Replies
    7
    Views
    3,572

    Hi Prelude! Just a question about your code. I...

    Hi Prelude! Just a question about your code. I know that is that only way to initialize const member, but way use that kind of initialization in node constructor instead of inside the definition?...
  20. Replies
    7
    Views
    3,572

    I think yes! Cur would be pointing to first. Then...

    I think yes! Cur would be pointing to first. Then the next of the last (the first) will be pointing to next of the first, so, no one will be pointing to first. But usually the linked list is a...
  21. If you are going to change the arrays content,...

    If you are going to change the arrays content, then you do not need to pass it by reference


    void f(int arr[4][4]);

    int main(){
    int myArray[4][4];
    f(myArray);
    return 0;
    }
  22. Replies
    2
    Views
    1,118

    I think that you donīt need to use extern. Just...

    I think that you donīt need to use extern. Just the header file (.h).
  23. Replies
    4
    Views
    2,905

    Thanks! It is a lot of info for me start, really...

    Thanks! It is a lot of info for me start, really thanks!
  24. Replies
    4
    Views
    2,905

    I havenīt these components :( But thanks anyway!

    I havenīt these components :(
    But thanks anyway!
  25. Replies
    4
    Views
    2,905

    Borland Builder & Office

    Hi everyone. Can I use Borland C++ Builder to create and manipulate Excel files? Any pointer is appreciated.
Results 1 to 25 of 245
Page 1 of 10 1 2 3 4