Tuesday, July 14, 2009

C Programming Language: How do you truncate?

Whenever I try to run the the code through the complier with trunc(x), I get this error message:





Undefined first referenced


symbol in file


trunc /var/tmp//ccExIysK.o


ld: fatal: Symbol referencing errors. No output written to a.out


collect2: ld returned 1 exit status





and whenever I try to run the code through complier with truncf(x), I get this error message:





Undefined first referenced


symbol in file


truncf /var/tmp//cc3cRAJq.o


ld: fatal: Symbol referencing errors. No output written to a.out


collect2: ld returned 1 exit status





How do you truncate in the C programming language?

C Programming Language: How do you truncate?
make sure that u r using the right header file


write:


#include%26lt;string.h%26gt;


at the top of ur code

periwinkle

1 comment:

  1. Hi,When developed for desktop, the websites contain certain features with Web Design Cochin, that assist in better functioning of the website on large and wide screens.Thanks.....

    ReplyDelete