Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Trombonastic

#include <ctype.h> and <cctype>

This topic is 5685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You all saw the title so I think you know wehre this topic is coming from. I''m using Borland C++ Builder and I tried to use this library in a console application and it says something to the effect of "Unknown Preprocessor". So I check to see what libraries Borland does have and it''s there but for some reason I can''t use it. Does anyone know how to correct this?

Share this post


Link to post
Share on other sites
Advertisement
quote:

You all saw the title so I think you know wehre this topic is coming from.



Ummm, no sorry I don''t know where your comming from, you haven''t
really explained your question/problem very well. I guess it involves the preprocessor and the ctype header files.

If your writing your program in C #include ctype.h, if your using C++ #include cctype and remember the things defined in that header file will probably be in the std namespace.

Do not include both header files, one is for C and the other for C++. Each #include should only have one header file and should be on a seperate line.

Hope that helps.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!