BTW: pardon the line formatting -- emacs isn't nice when it comes to doing direct copying into gedit, and then to an HTML form.
Sorry about that,
Dead Cell
Type: Posts; User: dead_cell
BTW: pardon the line formatting -- emacs isn't nice when it comes to doing direct copying into gedit, and then to an HTML form.
Sorry about that,
Dead Cell
Hey guys & gals,
Wow, I haven't been on these boards in a while -- but now, I've been working on this for the past eight hours straight (don't ask why -- It's for an independant study) and I can't...
simulate_keypress() is under Allegro's keyboard.h
It's defined as:
AL_FUNC(void, simulate_keypress, (int keycode));
The simulated keypress would look something like this:
I don't think simulate_keypress() would work here, would it?
The only other way i could see this being done would indeed be through a win32 API function call and drawing the image data to the...
Maybe if you're feeling a little creative, you could build something along the lines of a networked game. All of the networking libs for the sockets are available on sourceforge, and they're pretty...
It's ok now, i got allegro to work with Dev-C++4. Apparently, I screwed up the entire install by not installing the correct minGW32 package... oh well. At least now, I've got the latest stable beta.
Yes, I'm using mingw32 for compiling, but It's just that, I really messed up when I was installing Dev-C++, so I'll just run bcwipe and kill off everything I screwed up and start over:D
Thanks...
I've just finished compiling the libraries for Allegro in Dev-C++4, and when I go to compile the demo project (code below), I get the error codes below:
1 demo.c undefined or invalid # directive...
Thanks everyone. I've been getting bored with C++ for the last little bit (they're making me learn VB @ school... bletch!!!). Anyway, I think I'll try my hand at a little bit of allegro, then some...
In Micro$oft's Visual C++.NET, under your solution explorer, add a resource file if you haven't done so already, then right-click on the resource file and hit "Open". You should now see the resource...
In Bloodshed Dev-C++ 4.0, Click on the [Project] tab in the menu bar at the top of the screen, then click [Edit resource file]. From there, you can manually ad a resource by naming the resource...
If I were in a bad mood, i'd say RTFM, but since you're new here, I'll explain.
When you're outputting a string of text or variables in C++, you normally use iostream to handle the output and...
#include <iostream>
using namespace std;
int main(){
int birth_year,birth_month,birth_day;
//current date info
// ( in reality this should not be hardcoded )
int year = 2002;
Hey all,
I've been getting bored with console-based C++ programming lately and was thinking about doing a little bit of grahpics work in C++ before I move on to full-fledged windows apps and the...
Yeah I just figured that out. I've been reading on the C++ board for so long that I lost track of where I was... Sorry 'bout that.
Hey all,
I've been getting bored with console-based C++ programming lately and was thinking about doing a little bit of grahpics work in C++ before I move on to full-fledged windows apps. The...
Never mind, I figured it out myself...
BTW: this was in response to the post about "MFC in .NET"... I hit the wrong button (again)... just ignore my idiocy and continue on with your coding
I didn't know about the hidden menu under the properties section of the project handler... All I had to do was to make the option for the implication of MFC to "Use MFC in a Static Library".
Once...
I've offered it before, and as far as I can see, I'll offer it again.
Check out http://www.digitalmars.com/rtl/rtl.html - It may be for their compiler, but all the runtime libraries are common in...
I've recently bought Programming Windows with MFC by Jeff Prosise, and I must say, it is a great book so far, but when I went to compile the sample source in MSVC++.NET, it would not compile. I've...
Here, look here - http://www.allegro.cc/files/install-devcpp.html - It's straight from the Allegro homepage so It should be accurate.
I've split the menu and the actual action functions, but I encountered a warning - the app still compiled correctly - it's just that warnings annoy me and the fact that the code won't compile...
dunno... :confused:
If you were to be programmed in a language, what would it be? COBOL, Assembly, or FORTRAN?
by the way, I'm compiling this in MSVC++.NET so the indentation is a little awry in some places... Sorry for any inconveniences