From 88bb9c53c2ff279dce601229669c043d617776f6 Mon Sep 17 00:00:00 2001 From: latenightz Date: Mon, 26 Apr 2021 16:46:45 +0000 Subject: [PATCH] testing file File to test EZLib --- testing.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testing.cpp diff --git a/testing.cpp b/testing.cpp new file mode 100644 index 0000000..9d2dbd7 --- /dev/null +++ b/testing.cpp @@ -0,0 +1,17 @@ +// Testing file for EZLib functions +#include +#include "lib/ez.h" + +using namespace std; + +int main() { + cout << "Hello world from the testing app!\n[next you should see EZLib functions]\n"; + ezl_hello(1); // Displays hello message from EZLib + ezl_ver(1); // Displays version of EZLib + cout << "\n"; // Due to the current feature ezl_ver() not being availible, + // You have to manually add \n... sorry! + cout << "System time: "; // not part of EZLib + ezl_time(1); // Displays system time using EZLib + // Note: if 1 is added in the parenthesis, it will print a newline \n at the end. + // Using 0 or any integer but 1 will result in no newline. +}