Re: [Dev-C++] Accessing Project Data
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: PIBCharon <PIB...@co...> - 2005-06-14 09:11:36
|
hi just include the header like every other header in one of your project-files : #include "myproject_private.h" inside this file there are 3 "defines", like this : #define VER_MAJOR 0 #define VER_MINOR 1 #define VER_RELEASE 1 well thats all you need! do whatever you like with this version information. for example print it to the console : printf( "version of my project is : %i.%i.%i\n", VER_MAJOR, VER_MINOR, VER_RELEASE ); hope this helps. if not please elaborate your specific problem a little bit more. greets Markus Am Sun, 12 Jun 2005 10:52:47 -0700 hat lordSauron <lor...@gm...> geschrieben: > I'm not that good though <sob!> > > Can you please elaborate on how I'd access this data? I've known about that > little file for while now (hey, that rhymes!), but haven't been able to > devise a way to get at the information. > > I've considered opening the file for i/o, but that sounds like overkill to > me. > > Lord Sauron the Great > lor...@gm... > Live Free or Die | www.redhat.com <http://www.redhat.com> | > www.bloodshed.net <http://www.bloodshed.net> | http://fsdev.forumer.com | > www.ubuntulinux.org <http://www.ubuntulinux.org> > -- Hi! I am a signature-virus. Please copy me into your sig. --- www.char0n.de --- |