summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/test.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fiz/naloga/test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fiz/naloga/test.c b/fiz/naloga/test.c
new file mode 100644
index 0000000..00e2b4d
--- /dev/null
+++ b/fiz/naloga/test.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <stdlib.h>
+int main (int argc, char ** argv) {
+ if (argc != 1+1)
+ return 1;
+ printf("%Lf\n", strtold(argv[1], NULL));
+ return 0;
+}