|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 241 (0xf1) Types: TextFile Names: »scanf.c«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« └─⟦c58930e5c⟧ └─⟦this⟧ »TeX3.14/TeXcontrib/gnuplot/bugtest/scanf.c«
#include <stdio.h> main() { float x,y; sscanf("0 12", "%f %f\n", &x, &y); printf("%f, %f should be %f, %f\n", x, y, 0., 12.); sscanf("00 12", "%f %f\n", &x, &y); printf("%f, %f should be %f, %f\n", x, y, 0., 12.); }