|
|
> Now that's interesting.
>
> 1. How does it know which files depend on which other files?
It looks inside the files to see which other ones you have #include'd.
> 2. A header file is what defines what can be accessed from outside a given
> source file. Without a header file, how do you determine what's supposed
> to be public and what isn't?
The stuff in a header file is just as valid in a source file, so just put it
there. IN fact instead of doing a #include you could just copy and paste
that file and put it there instead. Just like #include in POV.
> To use Haskell, you need to learn something like half a dozen basic
> principles. After that it's just figuring out "OK, how the hell do I
> perform task X?" Learning C++ it just seems like learning feature after
> feature after feature, seemingly without end.
It's not like you need to know the whole of C++ (or even most of it) to
write even quite complicated programs.
Post a reply to this message
|
|