I'm a beginner in C++ programming and I use Xcode -> Command Line Tools -> C++ on my Mac at home and Turbo C++ at school. How do I download fstream.h, conio.h, and other header files onto my Mac?
Also, is there any other alternative to Xcode for C++ programming on a Mac?
How do I download fstream.h, conio.h, and other header files onto my Mac?
You don't. These headers will do you no good on a Mac, <fstream.h> is an outdated header for your outdated Turbo C++ compiler, and won't work with modern compilers like Xcode. All the current C++ standard headers do not have file extensions, <fstream.h> is <fstream> in modern standard compliant compilers.
Likewise <conio.h> is a DOS specific header from another age and you really shouldn't be using anything from this header. And since it is DOS specific it won't be available for your Mac.
Also, is there any other alternative to Xcode for C++ programming on a Mac?
With any up-to-date compiler you should use <fstream> rather than <fstream.h>.
<conio.h> is a non-standard header, originated by Microsoft I think, it's not something you would use on a Mac. ncurses is a cross-platform alternative. http://en.wikipedia.org/wiki/Ncurses