Is there a way to configure Visual C++ to say: automaticly make the correct declarations needed for static variables? like:
class Foo
{
static float bar = 5.0f;
};
Ive been using java for a bit and I wish the compiler would just assume that it should write this
class Foo
{
static float bar;
};
float Foo::bar = 5.0f;
Is there any way to program stuff like this in?
I'd love something to either write the structure i need for my .cpp file when i define things in the header. I'd also love if it would move code from my header into the source file.
There are tons of small little automated tasks that really irk me after having to use java... cant it look through the headers in the include files and see that if im using std::string it automaticly add #include <string> ?
[edited by - useful on June 7, 2002 9:32:17 PM]