wen i run coding in tc it shows error that the header file cannot be detected.
i have tried changing the directory. but it still has no effect.

fire up the IDE, and click on "Options" then "Directories".

Check the listing for your header files. When you include the header file, be sure to add the < or " char's around the file name:

#include <stdlib.h>.

Works for default directory locations. "stdlib.h" works for limited searching for the header file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.