Initial commit
This commit is contained in:
16
LXC/LXC.cpp
Normal file
16
LXC/LXC.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <LXC.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
using namespace LXC;
|
||||
|
||||
Util::ReturnVal fileContents = Util::ReadFile("example/example.lx");
|
||||
|
||||
if (fileContents.Suceeded())
|
||||
std::cout << fileContents.Result() << std::endl;
|
||||
|
||||
else
|
||||
std::cout << fileContents.Error().reason << " | " << fileContents.Error().path << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user