ctype.h & using namespace std

ctype.h & using namespace std

Post by 2005 » Mon, 30 Oct 2006 02:07:04


Hi

I am using VS 6 EE

I had error when I used

#include <ctype>
#include <iostream>
#include <fstream>
#include <string>
#include <iomanip>
using namespace std;

I had to change it to
#include <ctype.h>

Why ctype is an exception?

Thanks
 
 
 

ctype.h & using namespace std

Post by Daniel T » Mon, 30 Oct 2006 02:20:39

In article < XXXX@XXXXX.COM >,



It's supposed to be <cctype> note the two 'c's.

--
To send me email, put "sheltie" in the subject.