Anirban Biswas
Wed, 12 Feb 2003 11:18:40 -0800
Hi ,
If you use some of the real number functs in C & C++ with gcc/g++ you shuold
link your code with the math library so do the following
gcc -o test_math test_math.c -lm (-lm links the math library).
Anirban Biswas.
On Wednesday 12 Feb 2003 11:48, Soumyadip Modak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was trying to complete my computer lab exercises using gcc 3.2 (I
> think that's what comes with dead rat 8). But everytime I compile a
> program having multiplication/division, the gcc ain't saying anything
> but the program runs upto the part before the calculation and then
> gives a segmentation fault. Other functions that I'v tried are
> addition and modulus, but no seg fault for these operators. What do I
> do?
>
> Also how to configure my GVC SF1133 VR external modem in dead rat?
>
>
> Soumyadip Modak
> RCC Institute of Information Technology
> Kolkata, India
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBPknm2AAMO//EcNNiEQI1kACfUqAJJwt5BrwTCPyXMEB8fyeo9PsAn1a+
> fCwUah9ZBwx71F2U1EnUF4Af
> =pq7h
> -----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3