Re: C++ program compiliation failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux