mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
216 B
17 lines
216 B
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
void main(void)
|
|
{
|
|
char buf[1024];
|
|
while (gets(buf) != NULL)
|
|
{
|
|
if (buf[0] != ';')
|
|
{
|
|
char* p = strstr(buf, " @ ");
|
|
if (p != NULL)
|
|
*p = 0;
|
|
puts(buf);
|
|
}
|
|
}
|
|
}
|