main.cpp 540 B

12345678910111213141516
  1. 
  2. // If you can use only the essential headers, compilation will be faster and work even if parts of the library can't be compiled.
  3. //#include "../../DFPSR/includeFramework.h"
  4. #include "../../DFPSR/includeEssentials.h"
  5. using namespace dsr;
  6. DSR_MAIN_CALLER(dsrMain)
  7. void dsrMain(List<String> args) {
  8. // Printing any input arguments after the program.
  9. for (int i = 1; i < args.length(); i++) {
  10. printText(U"args[", i, U"] = ", args[i], U"\n");
  11. }
  12. // Printing some text to the terminal.
  13. printText(U"Hello world\n");
  14. }