mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
18 lines
318 B
C++
18 lines
318 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
for(;;) {
|
|
Cout() << "Press ENTER to open FileOut\n";
|
|
ReadStdIn();
|
|
FileOut out(ConfigFile("testfile"));
|
|
if(out) {
|
|
Cout() << "file opened\nPress ENTER to close\n";
|
|
ReadStdIn();
|
|
}
|
|
else
|
|
Cout() << "NOT opened\n";
|
|
}
|
|
}
|