Dev-C++ (MingW)
Type: Posts; User: Bert
Dev-C++ (MingW)
1: Included "allegro.h"
2: Included linker info
3: Dev-C++ installed in "C:\Dev-Cpp"
When I tried compiling the project it doesn't do anything. When I hit compile again it says its compiling. I'm pretty sure I installed allegro right. I got the binaries where the readme.txt said that...
I'm having some problems with allegro. I tried setting it up on Dev-C++ but when I compile I get errors. On how to set it up at www.allegro.cc it said I needed to include an *.a file into the project...
Language: C++
Complier: MingW ( or something like that)
Comment: My complier came with the Dev-C++ IDE package. Its great!
Console (MS-DOS Window). Just about all programming languages can do this WITHOUT an API. Good kind of game for a beginer to make too.
GameDev - For Beginners Page
You should be able to find a few answers there.
I'd recomend learning C++ because its the most commonly used programming language. But you can't use graphics in C++. You will need another programming lanuage (API) to use graphics (with C++). Four...
I don't think my code is wrong and my code is fine. But this also happened in version 4.9.4.0
I got Dev-C++ 4.9.5.0 and when I complied a program I got errors in the header files. Does anyone know how to fix this? I was using the "iostream" header file by the way and it showed errors in the...
Do you mean put the source code of one program into another or put 2 source codes into one program? If that's what you mean just do something like the follwing.
#include "file.cpp"
#include...
That didn't work. It displayed the same 4 errors.
I tried moving "menu2()" out of "cityBertopia". But it just causes more errors. If it matters, I moved "int choice = menu2();" out. I don't think I can move just "menu2()".
So what would you suggest?
There isn't a "main2" in "cityBertopia" so I think you mean "menu2". Anyways, "menu2" ISN'T declared in "cityBertopia". Its declared in "ROA_v3-0".
Line / Unit / Message
147 / ROA_v3-0.cpp / In file included from ... ROA_v3-0.cpp
/ cityBertopia.cpp / [Warning] In function 'void cityBertopia()'
51 / cityBertopia.cpp / parse before '{'...
Here's the other file.
I was updating this program and I came across some errors again. Below (attached) are 2 of the files. It says that there are errors but I can't find them.
Okay. It works. Thanks Fletch.
So you think the problem is in "battleKnight", "battleBarbarian", and in "battleGoblin"? Well, I'm gonna attach "battleKnight" to this message. "battleBarabrian", and "battleGoblin" is pretty much...
I got a parse error when compliing the following code (its attached). They are on lines 113, 119, and 125. The complier says parse error before '}'.
But I have to make it "0" at some point. So I guess I should find another way for it to pick a random number or something.
A: I AM NOT dividing. I am making the computer pick a number between 0 and the value of "weaponEP" and "armorEP".
B: The "illegal operation" still happens when "weaponEP" and "armorEP" is not...
I didn't have any division in my code but I think I know what the problem may be. I used the randmise thing. Here's a section of that code.
yourAttack = rand() % 15;
armorE =...
civix: Its not that I can't get good graphics. Its because I don't know how to put graphics into programs.