DEV C++ compiler

  • frankly
  • Beginner
  • Beginner
  • frankly
  • Posts: 52

Post 3+ Months Ago

Hi,

I used cygnus (or cygwin) before and now I'm using the DEV C++ to compile the files. I got a sth.c file which include the header file header.h and I use the DEV C++ to make a new project and add these two files into the project but still there is a compiling error until I put the header file in the same folder as the sth.c file. Is that necessary? Do we have to do that everytime we include header files? Coz one might include a lot of library files and it's hard to imagine how to track them all and put them into the same folder.

Also I have another problem now, which is the use of " S_IRGRP" and " S_IROTH". Seems like the compiler doesn't recognized these two.
It says
Code: [ Select ]
971 a.c `S_IRGRP' undeclared (first use in this function)
and
Code: [ Select ]
971 a.c `S_IROTH' undeclared (first use in this function)
So anyone has any idea at all?
Thanz!! :D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 58 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.