Thanks for the help! :)
Type: Posts; User: gustavosserra
Thanks for the help! :)
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!
Thank you all for the help. Altought it is not very clear what I must do I will work on the ideas.
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....
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...
Also, visit msdn for documentation on the API.
#include <iostream>
#include <bitset>
using namespace std;
int main()
{
// 16 bits each
short num;
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...
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*...
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...
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...
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.
Canīt he use 8086 assembly and then run in XPīs compatibility mode?
Couldīt you use a struct with the 2 integers?
Thanks!
Do I need to free the old pointer that I pass to realloc?
Thanks any help!
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...
Ok! Thanks!
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?...
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...
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;
}
I think that you donīt need to use extern. Just the header file (.h).
Thanks! It is a lot of info for me start, really thanks!
I havenīt these components :(
But thanks anyway!
Hi everyone. Can I use Borland C++ Builder to create and manipulate Excel files? Any pointer is appreciated.