December 8th, 2013, 07:59 PM
Awesome, it works! Thanks a bunch! How very elegant. I will study + learn from it.
Neat use of cin type space skipping + ifstream c.str.
I'm surprised it could be simplified still...
December 8th, 2013, 12:47 PM
I tried to run the MSVC debugger, but it just exists after inputting the filenames and gives me no information. I'm not familiar with debuggers so I was looking at some GDB commands but I'm still not...
December 8th, 2013, 10:17 AM
I'm trying to write a simple console app, it reads input from two files, does some math with them, and outputs the results into a new file.
The files have data that looks like this:
November 17th, 2013, 07:19 PM
Ok cool. It works without crashing now. Thanks for your help I really appreciate it. The LPBYTE thing is fixed.
One issue I am having is that it won't let me click the 'x' to close it though. It...
November 17th, 2013, 05:32 PM
Yes it should! I put rabbit there to remind me to go back and fix it at some point lol. Thanks.
Right ok. Fixed.
Are you saying that I shouldn't send a WM_PAINT message, or that I'm not...
November 17th, 2013, 02:24 PM
#define MAX_LOADSTRING 100
// Global Variables:
November 17th, 2013, 01:10 AM
What needs to be done to get data.mouse.lLastX updated live on the screen?
Here's the code now after I've been poking at it.
November 16th, 2013, 10:38 PM
Ok, bit of a rewrite :-)
November 16th, 2013, 07:01 PM
Yikes. If it's easier I could just have a program that displays a window with text and have it update with the mouse movement ala direct x mouserate checker.
I'm not sure I trust anything other...
November 16th, 2013, 02:01 PM
I changed RegisterRawInputDevices(Rid, 2, sizeof(Rid)) == FALSE)
to RegisterRawInputDevices(Rid, 1, sizeof(Rid)) == FALSE)
Now I don't get the 1004 error, hopefully that's because the...
November 16th, 2013, 01:54 PM
I am a novice programmer trying to create the following application:
1. Can just be a simple CLI program.
2. Gets mouse input from WM_Input, not for buttons just whatever the mouse sends...