|
|
Invisible <voi### [at] devnull> wrote:
> The point is, as soon as you have more than one source file, you have to
> manually write header files, manually keep them synchronised with the
> source files, manually figure out the dependency tree, manually compile
> everything one at a time, manually recompile stuff as needed, and
> manually link it all at the end. Get any single step wrong, and at best
> you'll get an incomprehensible linker error; at worst you'll get a
> segfault. Good luck every figuring out why.
Do you honestly think that an IDE like Visual Studio is not going to
automatically create project dependencies for you?
In the Unix side of the world knowing a bit of makefile syntax gets you
a long way. It's even possible to create a makefile (at least when using
gnu make) which automates mostly everything, including resolving dependencies.
And for a small project a simple "g++ *.cc -o myprogram" will do just fine.
--
- Warp
Post a reply to this message
|
|