2001 outfits - Fashion Center
Trying to use a global constant in C++ in multiple files can cause LNK2001. In C++, unlike C, global constants have static linkage. To get around this limitation, you can include the const initializations in a header file and include that header in your .cpp files, or you can make the variable non-constant and use a constant reference to access it.
Understanding the Context
LETS SAY YOU YEAR LEVEL ON TIME DIMENSION IS [Date]. [Calendar]. [Calendar Year].& [2001] FOR YEAR 2001 IN ORDER TO FIND OUT THE CURRENT YEAR YOU NEED TO YOU NOW () FUNCTION AND DATEPART TO STRIP OUT YEAR NAME (2009 IN THIS CASE) THEN USE STRTOMEMBER FUNCTION YOU CAN CONCATENATE THE STRING AND CONVERT TO MEMBER --YOU CAN CREATE CURRENT YEAR AS ...