Lazy Method Automation in C++ Express

Started by
5 comments, last by demonkoryu 18 years, 5 months ago
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()
{
}


Advertisement
lol, your awesome MetaKnight
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
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.
nice! It works in 2003, but I cant seem to find it in 2005. Oh well, may be it's cause it's express, now it's not so expressy.
ctrl-c then ctrl-v might help.
Quote:Original post by Nitage
ctrl-c then ctrl-v might help.


Works in Notepad, too! [smile]

This topic is closed to new replies.

Advertisement