Original Post
I was recently reading about how the first C++ compiler was CFront which basically translated the C++ code in to C code and then compiled it. Well, I want to know how it translated classes and other new features in C++ which were not there in C. In fact, how were/are new features added to a programming language in the first place? I saw something about preprocessors. Well, what are they exactly and how do you write them?
I would appreciate it if you could answer in a easy-to-understand sort of way. I am asking here because I have googled this and not understood most of it.
EDIT: Also, isn't the preprocesser in C/C++ the hash symbol (#) ?
I would appreciate it if you could answer in a easy-to-understand sort of way. I am asking here because I have googled this and not understood most of it.
EDIT: Also, isn't the preprocesser in C/C++ the hash symbol (#) ?