srinivasvenkata
srinivasvenkata

Reputation: 1

program compilation error

I wrote a program in C++. It includes a ctype header file.

While compiling it using the command g++ sri.cpp I get this error:

fatal error: ctype: No such file or directory

Kindly help me out with this.

Upvotes: 0

Views: 152

Answers (1)

SmRndGuy
SmRndGuy

Reputation: 1819

Can you view us the code?
if you have wrote #include <ctype>, it should be #include <cctype> or #include <ctype.h>, but if this doesn't work then I suppose you don't have ctype at all to be compiled...

Upvotes: 3

Related Questions