How to auto-include all headers in directory

前端 未结 10 3273
被撕碎了的回忆
被撕碎了的回忆 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:49

    If you're on Unix system, you can have a softlink that points to the latest excercise.

    ln -s e0615.h latest.h

    and name your class E instead of E0614, of course

    P.S. To the best of my knowledge, you can't do #include xxx*

提交回复
热议问题