On Mon, 4 Oct 2004 06:11:50 -0700 (PDT) Prabu Subroto <prabu_subroto@yahoo.com> wrote:
I have modified my code. I moved the classes into header file, do "include "bsamba.h" (and also for the other header file) and compile it again with "g++ -I ./ liss.cpp". and everything as expected. You do not need to use -I to look into your local directory. #include <iostream> #include "localstuff"
You use angle brackets to include header files in the standard locations. You use double quotes to include header files in the local directory. The '-I ./' is certainly ok to use. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -- -- Gerald Feldman <feldman.g@comcast.net> Boston Computer Solutions and Consulting ICQ#156300 PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9