E
E
EgaMen2015-11-01 19:00:15
Programming
EgaMen, 2015-11-01 19:00:15

What is wrong with a C program?

45fa9746e09d45058b5ee80751e0eb77.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
abs0lut, 2015-11-01
@abs0lut

No padding

M
MK, 2015-11-01
@Maxsior

I forgot to specify the namespace, the compiler does not understand that the sqrt function is in the math.h library

O
Oleg Tsilyurik, 2015-11-01
@Olej

Linker error, libm.so library not included:
$ gcc triangle.c -lm -otriangle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question