Zitat:
Zitat von mat1 Leider weis ich jetzt immer noch nicht wieso meine Werte für a, b und c immer \\\\\\"-9.2559604425286806e+061\\\\\\" sind.  |
Weil du floats einscannen willst, die Werte aber double sind. Probier mal
PHP-Code:
scanf_s(\\\"%lf\\\", &a);
(die Backslashs wegmachen)