16 lines
227 B
C
16 lines
227 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
if(argc < 2)
|
||
|
{
|
||
|
printf("usage: %s topic message\n", argv[0]);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
char *topic = argv[1];
|
||
|
printf("%s\n", topic);
|
||
|
return 0;
|
||
|
}
|
||
|
|