char array compilation error
<p>What is the problem in my code? It does not compile..</p>

<pre><code>   class FileNames
   {
        public:
           static char* dir;
           static char name[100];

           static void Init3D()
           {
            FileNames::dir = "C://3D//";
            FileNames::name = "abc";
           }
   };   
</code></pre>
