I'm not sure.. but in the examples I was learning with, the readkey comes at the end(I assumed to exit) So maybe when you press I, it calls readkey and immediately shuts down?
Type: Posts; User: MattJ812
I'm not sure.. but in the examples I was learning with, the readkey comes at the end(I assumed to exit) So maybe when you press I, it calls readkey and immediately shuts down?
I finally got on the forum at allegro, IE was stopping "unsafe" content.
Anyhow it appears to be working now, I was supposed to put the dlls from allegro\bin into the folder that my executable was...
OK i started again installed codeblocks to c:\codeblocks. mingw is now c:\codeblocks\mingw.
I downloaded the prebuilt allegro library for MinGW (gcc 3.3) from here... Files
I extracted all...
heh now codeblocks doesn't do anything at all, and the liballeg.a file (created then or not) was in c:\dev-cpp. I can only assume that folder was created when I was trying different compilers and...
I thought direct x was up to 9 or so, but as for that download I thought it was specific compiler settings, but either way I do not have liballeg.a and cannot find it in a search. Ill try some other...
OK so I followed the instructions on that link except being under the assumption that the minGW stuff is included in codeblocks, everything appeared to work fine until I tried a program which is an...
I can't find the search result now but the first was "fix mingw" and fix was not recognized, but anyway please explain something...
Using this link...
Code::Blocks - Allegro Wiki
The first...
I am trying to install allegro to use the game development libraries but I am struggling. I cannot register at allegro because of some CAPTCHA words that I do not see and the codeblocks forum...
I am attempting the challenge at the end of the recursion tutorial on this site to return the factorial of any number.
I have come up with 2 ways to do it, but both seem a bit cumbersome.
...
This is complicated but the learning of the language and an application that can faciliate the learning are so intertwined that this is hard to avoid.
So codeblocks uses g++? What different...
Sorry this compiling stuff really threw me from the beginning. Yes I have the 10.05mingw package.
I just noticed a setup file in the mingw folder... tdm-mingw-1.908.0-4.4.1-2.exe
Do i have to...
Sorry to 'bump' a somewhat oldish topic but I'm getting back onto the command line stuff again in this sites tutorials..
I figured that I can browse to the path of my .exe (that I compiled in...
Perfect thanks.
Obviously, so it checks which comes first in the dictionary?
int strcmp ( const char *s1, const char *s2 );
strcmp will accept two strings. It will return an integer. This integer will either be:
What exactly is this checking? How is 'John' less,...
/////////////segment of start up script //////////////
tile[0] = "noone"
tile[1] = "noone"
tile[2] = "noone"
tile[3] = "noone"
tile[4] = "noone"
tile[5] = "noone"
tile[6] = "noone"
tile[7]...
I don't know I actually got the reference from using the a7 gamestudio and lite-c
EDIT - No I give myself plenty of time to understand what's going on I went over pointers 3 times before I...
Cool I'll check that out, I got a bid deterred by the tutorials on this site as they were appearing to take a totally different approach from what I was learning, now I know better then eh. I always...
I'm not in school I've been wanting to code games forever and learned a whole bunch about GML but I wanted to learn more about "proper" coding and c++ in 21 is what I found so here I am.
Learn as...
Were they valid types when they wrote that?
Im sorry I was under the assumption that this book was kept up online, it took long enough to figure out how to get a compiler to even start to learn...
OK so you're saying the enumeration works aslong as I don't test if the DEBUGLEVEL is less or greater than? Why is that?
And you say you have the 5th edition? where do I get it? mine is 2nd i...
Using the PDF I'm on 543 of 772
any number of levels, a common system is to have four levels: HIGH, MEDIUM, LOW, and NONE.
Listing 17.8 illustrates how this might be done, using the String and...
OK so why would the book try to use an enumeration if the preprocessor doesn't understand it?
Its copied straight from the book, how do I fix it?
So yet again I'm working through the teach yourself c++ in 21 days and I am stuck again.
This is in regard to different debugging macro levels.
Heres the example...
#include <iostream>...