¡@

Home 

c++ Programming Glossary: pi_under_180

constant variables not working in header

http://stackoverflow.com/questions/2328671/constant-variables-not-working-in-header

extern const double PI 3.1415926535 extern const double PI_under_180 180.0f PI extern const double PI_over_180 PI 180.0f I get the.. in main.obj 1 MyDirectX.obj error LNK2005 double const PI_under_180 PI_under_180@@3NB already defined in main.obj 1 MyDirectX.obj.. 1 MyDirectX.obj error LNK2005 double const PI_under_180 PI_under_180@@3NB already defined in main.obj 1 MyDirectX.obj error LNK2005..