¡@

Home 

c++ Programming Glossary: xxx.h

Why including same headers in multiple cpp files and then their compilation works? [duplicate]

http://stackoverflow.com/questions/20023346/why-including-same-headers-in-multiple-cpp-files-and-then-their-compilation-work

have 2 cpp files f1.cpp and f2.cpp and also a header file xxx.h. f1.cpp has the following source code #include iostream #include.. has the following source code #include iostream #include xxx.h using namespace std int main rect rplace polar pplace cout Enter.. source code #include iostream #include cmath #include xxx.h polar rect_to_polar rect xypos using namespace std polar answer..