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
Type: Posts; User: vexon
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
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:
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 {
...
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...
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....
Yes but it works fine
the structure is the one I'm having problems with
Here's a more complete code:
//af editor.h
extern CString currentfile;
struct AFHEADER {
short m_fighternumber;
};
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...