Okay. Thanks.
Type: Posts; User: Erondial
Okay. Thanks.
Well, windows has to have some way of figuring out which file you have selected if you open it via the enter key... it's obviously stored SOMEWHERE... there's no function to get any information about...
No, I mean, when you're on the desktop, you have no windows/dialogs open, and you select a file, by single-clicking on it. It highlights blue. Windows has to keep the handle for that file somewhere....
They would, but I need to find which file to Open/Create, first, that's the problem.
Anyone know which function to call to get me the handle of the file currently selected? Or any information about it at all?
Aha! I typecasted them, and it's working. Sorry, I wrote that code a while back, and didn't bother to check it again, and didn't want to bother writing a new one. I know it's kind of inefficient. I...
Hmm...
I changed it to >= 360, and the problem still occurs...
Here's the whole vector.h file.
typedef struct {
double degrees;
double power;
double x;
double y;
} VECTORSTRUCT, *PVECTORSTRUCT;
Okay, I'm sorry for dumping alot of code on you guys... but I'm at wit's end about this.
I'm writing a 2D Space Shooter, in SDL. But that's not the problem. It has nothing to do with the SDL API....
Thanks! I've been really bashing my head into the wall over this one. REALLY appreciate your help.
Yeah, I converted for degrees.
Okay. That explains ALOT.
Now, my next question is:
How would I preform a sin-1 operation?
Before I ask a long stupid question, let's start with a short one first.
Is sinh the same function as sin-1 (as on a calculator)?
I get the impression that it is, but if so, then it's not quite...