Novice question on header files
I've spent a good deal time in C, and I recall I often used .h or header files to store my global variables, structs, and other prototypes. I'm learning C++ now, and I've stumbled across header files in this book. I'm using Microsoft Visual C++ 6.0 Professional Edition for compiler purposes. The book says I can use .hpp instead of .h which I thought was kind of wierd..I remmeber c programs were .c and c++ are .cpp so does that follow where c headers .h and c++ header .hpp?? What do you guys use .h or .hpp which is more the style these days and which is more ANSI compliant? Any help would be greatly appreciated.