更新 test.c
This commit is contained in:
parent
aa6ed1d04e
commit
7ff05a5c4d
6
test.c
6
test.c
|
@ -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');
|
||||||
}
|
}
|
Loading…
Reference in New Issue