Afficher un message
Vieux 14/04/2008, 06h16   #7
CBFalconer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem with atoi and strlod

Sanchit wrote:
>
> #include<stdio.h>

#include <stdio.h>
> #include<stdlib.h>

#include <stdlib.h>
>
> int main() {

int main(void) {
> double ans;
> ans = strtod("25", NULL);
> printf("ans = %d\n",ans);

printf("ans = %f]\n", abs);
return 0;
> }


Obvious program faults/failings marked above.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.


** Posted from http://www.teranews.com **
  Réponse avec citation
 
Page generated in 0,04462 seconds with 9 queries