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)
|
|
|
|
{
|
2025-01-09 10:15:28 +08:00
|
|
|
std::cout << "PreContent1 " << std::endl;
|
|
|
|
std::cout << "PreContent2 " << std::endl;
|
2025-01-09 12:58:30 +08:00
|
|
|
fc_append('|');
|
2025-01-08 20:35:08 +08:00
|
|
|
while (1) {
|
2025-01-09 10:15:28 +08:00
|
|
|
char* content = fc_readline();
|
2025-01-08 20:35:08 +08:00
|
|
|
if (content) {
|
2025-01-09 10:15:28 +08:00
|
|
|
fc_free(content);
|
2025-01-21 12:43:53 +08:00
|
|
|
std::cout << "" << std::endl;
|
2025-01-08 20:35:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|