更新 test.c

This commit is contained in:
rabix 2024-06-07 09:32:50 +08:00
parent aa6ed1d04e
commit 7ff05a5c4d
1 changed files with 4 additions and 2 deletions

6
test.c
View File

@ -1,11 +1,13 @@
#include "6.0s1.h" #include "6.0s1.h"
int main(void) { int main(void) {
S1_INT p = read_int(); s1_trace("Hello");
s1_int p = read_int();
write_int(p); write_int(p);
write_char('\n'); write_char('\n');
read_pnl(); read_pnl();
S1_CHAR q = read_char(); s1_trace("Read until newline");
s1_char q = read_char();
write_char(q); write_char(q);
write_char('\n'); write_char('\n');
} }