0

I have a really bloated C++ project (3-4 classes, functions and main all in one document) that I'm trying to organize a bit by separating out into different classes. I'm working in VS 2013.

Before I start cut and pasting into header files and .cpp files, I was wondering if anyone knows of any wizard-like functionality in VS that could automate this process for me. I tried the class wizard, but couldn't figure out a way to make it move my existing classes into a new document.

Does anyone have a suggestion? Copy/paste seems like such a clunky solution.

Thanks!

Adam
  • 8,752
  • 12
  • 54
  • 96
  • 1
    http://stackoverflow.com/questions/1388469/is-there-a-working-c-refactoring-tool – Jonny Dec 19 '13 at 16:50
  • 1
    "3-4 classes, functions and main all in one document" Why did you call this "really bloated"? In my book, "somewhat bloated" does not start until 15..20 classes :-) – Sergey Kalinichenko Dec 19 '13 at 16:50
  • You don't split in classes only to make code more tidy. You split in classes according to **domain**. Any tool for refactoring may help you with this. It's not copy & paste! It's...redesign! – Adriano Repetti Dec 19 '13 at 16:51

1 Answers1

1

I think the solution you are looking for is in this question.

I'll keep searching anyway.

Community
  • 1
  • 1