Search results

  1. D

    GP32 Loading A Map

    here is my pb: I made my own map struct for my game engine and it look like this: and when I load the map with this function: MAP * load_map(char * path); I test each element of the MAP to be sure they're working and they are, but when i do: map = load_map(map_path); when loaded every element...
  2. D

    GP32 What's With This 26 Number?

    i'm writing a program that write an unsigned char to a file which value is 26 to a file and then reading it and it doesn't work (although it's working with other numbers) here's the code: #include <stdio.h> int main() { FILE *fp; unsigned char val1,val2; val1 = 26; printf("%d\n",val1)...
  3. D

    GP32 Sqrt Function

    There's something I don't understand with sqrt, I can't use it with anything else than const, for example, when I try: double f = 5.3; sqrt(f); it tells me: undefined reference to sqrt but when I do this: sqrt(10); it's working fine. Am I using a wrong way to find square root? if yes how can...
  4. D

    GP32 Getting Started With Sdk

    Hi I don't have a very good C/C++ knowledge but I think I have enough to start using sdk (at least, simple one), but I don't know which one to use (for beginner) nor how to instal/configure it, do you have any link to a good and simple sdk? I'm using Devcpp IDE and i'm not sure that make things...
Back
Top