Search:

Type: Posts; User: Mr_Jack

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,017

    thanks a lot that was the problem!

    thanks a lot that was the problem!
  2. Replies
    6
    Views
    2,017

    Well, perhaps I was I bit harsh, but instead of...

    Well, perhaps I was I bit harsh, but instead of trying to make me change my style, which I'm sure I asked no one to do, I would expect someone to help with the problem I asked for help for. This plus...
  3. Replies
    6
    Views
    2,017

    THE STL REINVENTED THE WHEEL YOU FOOL!!!! why...

    THE STL REINVENTED THE WHEEL YOU FOOL!!!! why else do you think the bitwise operators are built into the language?? PLEASE, all's I asked for is help!!! If you can't help, don't pick at my code! That...
  4. Replies
    6
    Views
    2,017

    bitwise operators??!?

    I am making minesweeper for the standard console... So every space is represented by a unsigned char. The first four bits tell how many mines are touching the space. The 5th bit is set if it has been...
  5. Replies
    3
    Views
    993

    No, this is excactly what I need to do. My...

    No, this is excactly what I need to do. My program uses all ASCII characters 32-100 and something. My program has the images of each characters stored in special places in the GBAs memory and I need...
  6. Replies
    3
    Views
    993

    mysterious overwriting of memory

    I'm making this text demo for the GBA. Anways I'm making this function to convert ASCII character to my characters. For some reason when I try to generate a string using this function all of my image...
  7. Replies
    1
    Views
    1,832

    illegal operand with & operator

    Whenever I try to use the & operator, I get the illegal operand error. What the hell???? This line generates an error:

    cout << (int)(temp & 8) << endl;
    Thanks for you help
  8. Replies
    2
    Views
    1,629

    help allocating 2d array w/ new

    WHY does this code not compile???:



    field_origin = new u8[field_size*6][field_size*10];


    Thanks for your help
  9. Replies
    0
    Views
    3,438

    simple collision detection problems

    I'm coding a simple physics demo for the GBA. This is a 2D demo. One thing to know is that the GBA screen is 240x160 pixels. There is a struct called object that stores data for images that can be...
  10. Replies
    3
    Views
    5,728

    here's my checkin function so far: void...

    here's my checkin function so far:



    void CheckWin()
    {
    //Try to find a way to avoid doing a lot of this checking as it seems slow

    u8 currentplayer;
    if (whosturn == 0)
  11. Replies
    3
    Views
    5,728

    win checking in connect four

    I am programming a game that is a rip of connect four for the GBA. The GBA isn't so fast. I'm not even done with my win-checking function and there is like a 1 sec slowdown when my program checks for...
  12. Replies
    4
    Views
    2,921

    Wow I never knew any of that stuff. Thanks a lot...

    Wow I never knew any of that stuff. Thanks a lot guys
  13. Replies
    4
    Views
    2,921

    bitwise negation problem

    Let's make believe that we have a bool variable called giraffe. giraffe currently equals 0. Now let's say that we use the bitwise negation operator on giraffe like so:
    giraffe = ~giraffe;
    giraffe...
  14. Replies
    2
    Views
    3,005

    problems with greatest to least sorting

    I have this linked list class that stores int variables. Each int variable is placed in it's own node. I want to put the nodes in order, greatest to least. I thought of an idea where you have a loop...
  15. Replies
    3
    Views
    1,120

    Thanks man, I totally forgot about that!

    Thanks man, I totally forgot about that!
  16. Replies
    3
    Views
    1,120

    problems overloading =

    For some reason every time I try to make an operator function a friend to a class, I always get the error "illegal operator declaration". I have no clue why. I would be more thankful than you would...
  17. Thread: binary trees

    by Mr_Jack
    Replies
    7
    Views
    1,784

    thank you all for your help!!!!!

    thank you all for your help!!!!!
  18. Thread: binary trees

    by Mr_Jack
    Replies
    7
    Views
    1,784

    binary trees

    Does anybody know of a good tutorial that tells you everything there is to know about dealing with binary trees? All of the ones that I have seen absolutely suck. If you could tell me where to get a...
  19. Replies
    4
    Views
    2,057

    My book says that my function to convert char *...

    My book says that my function to convert char * to string will be called when I assign a char * value to a string object, when I pass a char * value to a function expecting a string argument when a...
  20. Replies
    4
    Views
    2,057

    implicit conversion not working

    In my string class I have a constructor for type conversions from char * to string (the name of my string class). My program doesn't implicitly convert char * to string when I say something like

    ...
  21. Replies
    9
    Views
    1,211

    Ok, thanks a lot for all of your help!

    Ok, thanks a lot for all of your help!
  22. Replies
    9
    Views
    1,211

    could you give me an example of a dynamic array...

    could you give me an example of a dynamic array please?
  23. Replies
    9
    Views
    1,211

    I do feel stuipid. Thank you very much for...

    I do feel stuipid. Thank you very much for helping me, it would have taken me a long time to figure the out the error with not initializing head and current. I probably would have figured out the...
  24. Replies
    9
    Views
    1,211

    sorry, I clicked submit by mistake and my...

    sorry, I clicked submit by mistake and my incomplete message was posted.
  25. Replies
    9
    Views
    1,211

    error with strings...

    I'm am working on a string class. Each character of the string occupies one node. The function that my string class uses to convert from char * to string (the name of my string class) is giving me...
Results 1 to 25 of 63
Page 1 of 3 1 2 3