18 lines
660 B
C++
18 lines
660 B
C++
// Testing file for EZLib functions
|
|
#include <iostream>
|
|
#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.
|
|
}
|