DEV C++ compiler

  • frankly
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Feb 28, 2003
  • Posts: 52
  • Status: Offline

Post March 12th, 2003, 6:30 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 12th, 2003, 6:30 am

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: Kurthead+1 and 202 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.