On Sunday 14 November 2010 18:59:28 Nilesh Govindarajan wrote: > How am I supposed to compile the program? i.e. in general a multifile > program having .hs and .cpps I should work the way you did. I guess you have an error in your source code. The oder method would be: g++ -c main.cpp g++ -c querystring.cpp g++ -o out main.o querystring.o Bye...Frank