Quote:
Originally Posted by zorrotech2008
hey wot abt other libraries like math.h.......shd i write
#include<math.h>
or
#include<math>
????
nd wot abt windows.h does visual c++ 2005 express not recognize windows library??
|
Windows.h is not a standard c++ library so you HAVE to use the .h .
Also , in standard C++ for non-C++, old libraries you add a 'c' before the name and remove the '.h' .
So 'iostream.h' becomes 'iostream' but 'math.h' becomes 'cmath' as it is an old library that was available in C also .
I recommend Addison Wesley's Accelerated C++ , an awesome book.