How to auto-include all headers in directory

前端 未结 10 3212
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 12:32

I\'m going through exercises of a C++ book. For each exercise I want to minimize the boilerplate code I have to write. I\'ve set up my project a certain way but it doesn\'t seem

10条回答
  •  失恋的感觉
    2021-02-20 12:45

    1. No. You have to include them all if that's what you want to do.

    2. No. At least, not in a way that's actually going to save typing.

    Of course, you could write a script to create main.cpp for you...

提交回复
热议问题