Search:

Type: Posts; User: durban

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,815

    extern goes before your definition, like so...

    extern goes before your definition, like so extern "C" void IOLabel::display()
  2. Thread: I hate VS2005!

    by durban
    Replies
    1
    Views
    781

    I hate VS2005!

    Anyone have it? Yea it sucks.. I've been editting manifests, searching forums, running through configuration over and over again and still to no avail, my program blows up. This is the error as soon...
  3. you can't include like that, the compiler has no...

    you can't include like that, the compiler has no clue what to do and generally pops up random errors in your code. I also have this problem alot when trying to seperate classes up, like you're...
  4. Replies
    4
    Views
    849

    file->new->Project, select console app and you're...

    file->new->Project, select console app and you're set..
  5. Thread: Escape Key

    by durban
    Replies
    1
    Views
    1,110

    Unfortunately, you can't get that data from the...

    Unfortunately, you can't get that data from the child window. You will need to override the control and subclass it to the child window. Then you can parse messages in the PreTranslateMessage...
  6. Replies
    1
    Views
    935

    Figured it out...

    Figured it out...
  7. Replies
    5
    Views
    1,839

    ??????

    ??????
  8. Replies
    30
    Views
    2,938

    what I meant was...its not doing a damn thing. ...

    what I meant was...its not doing a damn thing. perhaps putting it in an if statement would get you the results..



    if( whatever & 6 )
    {
    // DO SOMETHING
    }
  9. Replies
    1
    Views
    935

    Axis based on 2 Vectors

    I'm a little hazy when it comes to vectors, maybe some of you can shed some light on me. I'm trying to generate an axis based on 2 3D vectors. What I mean is, I want +Z to go down the vector +X to...
  10. Replies
    30
    Views
    2,938

    (maze[xstart][ystart] & W_NORTH) what do you...

    (maze[xstart][ystart] & W_NORTH)

    what do you suppose you are doing with that? Does that solve any task you had in mind? Maybe its there for looks?

    Oh I just thought of a useful bit of...
  11. Replies
    30
    Views
    2,938

    you can't just & it...is it in an if statement or...

    you can't just & it...is it in an if statement or are you assigning the result to something? More than anything, what is the error???
  12. Replies
    30
    Views
    2,938

    I'll give you a sample: maze[20][20];...

    I'll give you a sample:



    maze[20][20]; //Predefined maze array

    if( GetKeyState(VK_LEFT) ) //However you do it in C
    {
    if( CharacterPosition & 0x08 ) //Character position is a maze[][]...
  13. Replies
    30
    Views
    2,938

    As to your maze reorder problem...reorder the...

    As to your maze reorder problem...reorder the text file to work with your program or parse the file differently...

    For the & operator, testing for collision on input is probably your only...
  14. Never seen it done or heard of it either. Just...

    Never seen it done or heard of it either. Just use an If statment.
  15. Replies
    30
    Views
    2,938

    couldn't tell you in C...Perhaps this is a C++...

    couldn't tell you in C...Perhaps this is a C++ Program?

    btw...The windows calculator can convert decimal to hex and binary. Could be very useful for your situation.
  16. Replies
    30
    Views
    2,938

    I think I misunderstood you, if the number is an...

    I think I misunderstood you, if the number is an int and its 0110 then when the & operator converts it to binary it won't be the same. instead you should make an unsigned char hold the data and give...
  17. Replies
    30
    Views
    2,938

    the & operator works automatically. For your...

    the & operator works automatically. For your walls, why don't u just hardcode the data? Maybe make the program do it randomly...it seems a whole lot easier to me but oh well. You could make an...
  18. Replies
    11
    Views
    903

    yes, for more information on making functions...

    yes, for more information on making functions look up a C++ Functions tutorials. I think there are some on this site.
  19. Replies
    15
    Views
    1,778

    outputs need to be deleted as well. call delete...

    outputs need to be deleted as well. call delete [] outputs to delete an array.
  20. Replies
    11
    Views
    903

    you can't link, you will need to start a new...

    you can't link, you will need to start a new project and copy paste what you want to it. If you mean you want multiple files you will have to make a new file with whatever IDE you're using and link...
  21. Replies
    11
    Views
    903

    1 question, why are you calling it physics? It...

    1 question, why are you calling it physics? It looks like an electronics/electricity program to me.
  22. Replies
    11
    Views
    903

    why not? Copy Paste it.

    why not? Copy Paste it.
  23. Replies
    15
    Views
    1,778

    Not seeing you delete weights and Invec, probably...

    Not seeing you delete weights and Invec, probably giving you a heap overflow after u call it a few times.
  24. Replies
    11
    Views
    903

    Sometimes programs get big...you should take a...

    Sometimes programs get big...you should take a look at some of my MFC Programs heh. 1 Suggestion tho, you could put the "Would you like to continue" line after the If statements, you don't need them...
  25. Replies
    3
    Views
    672

    yea, everything was correct. I got it working by...

    yea, everything was correct. I got it working by restarting VS.. 2005 bug I guess.. =\
Results 1 to 25 of 221
Page 1 of 9 1 2 3 4