2025-01-08 20:35:08 +08:00
|
|
|
#include "filecomplete.h"
|
|
|
|
#include <iostream>
|
2025-01-09 09:07:16 +08:00
|
|
|
#include <string>
|
2025-01-08 20:35:08 +08:00
|
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
|
|
{
|
|
|
|
while (1) {
|
|
|
|
char* content = readline();
|
|
|
|
if (content) {
|
|
|
|
std::cout << std::string(content) << std::endl;
|
|
|
|
free(content);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|