|
From: Michael D. S. <for...@hi...> - 2003-08-06 03:52:55
|
I've been using Dev-C++ for a few days. I've written one program. I managed to translate an old PERL program after changing it considerably because of the stuff that's easy in PERL and almost impossible in C++ -- @array = <FH>; for instance. Now I know why Larry Wall sometimes calls it "magic" :) I used the GUI on DEV -- The Compile -- Execute buttons. The program is simple and (probably:) ANSI so it was suggested I use gcc to keep from having to compile a UNIX and Window's version. If it's ANSI what difference does the compiler make? Which compiler am I using when I use the GUI on DEV? (The Compile -- Execute buttons) Attempting to use gcc, I opened a DOS window (command line) and working from within the C:\Dev-C++\ bin directory for the moment to make things easier, I tried to compile the source using gcc. It can't find the header files fstream.h and string but it seemed to like stdlib OK. I copied them into the same directory. Still can't find them. I thought it always searched the current directory? Does gcc have a problem with some header files? Once again, any thoughts, discussions to clear the fog a little will be appreciated. ms Half the people you know are below average 99% of lawyers give the rest a bad name 42.7% of all statistics are made up on the spot |