Sign in to follow this  

Lazy Method Automation in C++ Express

This topic is 4419 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way in Visual Studio to add a method to my class and it will start it out in the header and source. Yes im very lazy ;) So like this: if I add void bar() to Foo class it makes this: in Foo.h
class Foo
{
   void bar();
}

in Foo.cpp
Foo::bar()
{
}


Share this post


Link to post
Share on other sites
heh I know what your thinking, but it could get complicated

like right now I just started a new project, and so I got tons of methods to flesh out, plus they have lots of parameters on them. Cant waste precious minutes

Share this post


Link to post
Share on other sites
I don't know if the express editions can do this, but in 2003 you could right click on a class in the Class View window and select Add Function or Add Variable.

Share this post


Link to post
Share on other sites

This topic is 4419 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this