Search:
Type: Posts; User: Labyrinth
Search:
Search took 0.02 seconds.
-
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:
5.96735...
-
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
#include "stdafx.h"
#include "inter2.h"
#include <iostream>
#include <Strsafe.h>
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst;
TCHAR szTitle[MAX_LOADSTRING];
-
November 17th, 2013, 01:10 AM
Any ideas?
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.
#include "stdafx.h"
-
November 16th, 2013, 10:38 PM
Ok, bit of a rewrite :-)
#include "stdafx.h"
#include "inter2.h"
#include <Strsafe.h>
#include <iostream>
//#include <sstream>
//#include <string>
-
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[0])) == FALSE)
to RegisterRawInputDevices(Rid, 1, sizeof(Rid[0])) == 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...
|
Click Here to Expand Forum to Full Width
|