Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.16 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. /* test:
  5. gcc -o test test.c
  6. ./test
  7. 0.000000
  8. */
  9.  
  10. int main(int argc, char **argv)
  11. {
  12.    printf("%f\n", atof("0"));
  13.    return 0;
  14. }