Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8629 | turbocat | 1 | #include |
2 | #include |
||
3 | #include |
||
4 | |||
5 | int main() |
||
6 | { |
||
7 | char string[256]; |
||
8 | shell_cls(); |
||
9 | shell_puts("This is a test console application for Shell\n\r"); |
||
10 | shell_puts("Type a string (255 symbols max): "); |
||
11 | shell_gets(string); |
||
12 | shell_puts("You typed:\n\r"); |
||
13 | shell_puts(string); |
||
14 | shell_puts("Press any key: "); |
||
15 | string[0] = shell_getc(); |
||
16 | shell_puts("\n\rYou pressed: "); |
||
17 | shell_putc(string[0]); |
||
18 | shell_exit(); |
||
19 | } |