GetDir

This function returns the current directory.

Syntax

Returns

Returns the path to the current directory.

Example

#include "Leadwerks.h"

using namespace Leadwerks;

int main(int argc, const char *argv[])
{
//Print the starting directory
System::Print(FileSystem::GetDir());

return 0;
}