29 using namespace basis;
34 int main(
int argc,
char *argv[])
38 printf(
"This program needs a path to convert to its short form.\n");
42 GetShortPathNameA(argv[1], shorty.
s(), 2045);
44 strcpy(shorty.
s(), argv[1]);
47 printf(
"%s", shorty.
s());
51 #ifdef __BUILD_STATIC_APPLICATION__
Provides a dynamically resizable ASCII character string.
const char * s() const
synonym for observe. the 's' stands for "string", if that helps.
bool replace_all(char to_replace, char new_char)
changes all occurrences of "to_replace" with "new_char".
The guards collection helps in testing preconditions and reporting errors.
A dynamic container class that holds any kind of object via pointers.
int main(int argc, char *argv[])
HOOPLE_STARTUP_CODE;.
Aids in achievement of platform independence.