Search:

Type: Posts; User: vexon

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,801

    How do flags work?

    I wonder this... how to flags work how do you intercept them and how to use them in your own functions?

    Just a simple question i guess :p
  2. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Thanks :) btw.. I'm not that new to C++ I'm...

    Thanks :)

    btw.. I'm not that new to C++ I'm just still in rookie stage :p I'm doing C++ for almost one year so heheheh :rolleyes:
  3. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Nevermind i solved it all now i did use an extern...

    Nevermind i solved it all now i did use an extern because I believe that's the only way of sharing the same values in multiple cpp's.
    So here's what I did:


    //AF Editor.h

    struct AFHEADER {
    ...
  4. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Thanks that helped :) But i need to share the...

    Thanks that helped :) But i need to share the same values of m_fighternumber between the files. Because if I understand this right i have two objects now with each different values. And that's not...
  5. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Thanks for all the help but it still doesn't...

    Thanks for all the help but it still doesn't work.
    I'm making this all extern because I want to use it in several cpp's not just one and declaring the struct in a header doesn't seem to work well....
  6. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Yes but it works fine the structure is the one...

    Yes but it works fine

    the structure is the one I'm having problems with
  7. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    Here's a more complete code: //af editor.h ...

    Here's a more complete code:


    //af editor.h

    extern CString currentfile;

    struct AFHEADER {
    short m_fighternumber;
    };
  8. Thread: extern structure

    by vexon
    Replies
    15
    Views
    4,347

    extern structure

    Hello,

    I'm kinda new to C++ and have a lot of trouble with. This is one of those things I can't solve myself...

    I made a structure that I want to use in any cpp file so i don't have to...
Results 1 to 8 of 8