#include #include "user_defs.h" int main(void) { char buffer[100]; fgets(buffer, 99, stdin); //mandatory to fix controller programs input stream, not needed if they use fgets and sscanf instead of scanf int num = -2, type = -2, code = -2, value = -2; double time = -2; while (1) { scanf("%d %lf %d %d %d", &num, &time, &type, &code, &value); printf("%d, %lf, %d, %d, %d\n", num, time, type, code, value); } return 0; }