123456789101112 |
- testfile = fopen(basename & ".dat", "w")
- io_a = 9*10*479
- io_b = "world"
- fprintf(testfile, "%.0f, %s\n", io_a, io_b)
- sprintf(io_c, "%.0f, %s", io_a, io_b)
- fprintf(testfile, "Message should have been \"%s\"\n", io_c)
- fprint_time(testfile, "Current day of the week is %A\n")
- fclose(testfile)
|