Category : C Source Code
Archive   : BCPPTECH.ZIP
Filename : TI800.ASC
PRODUCT : C++ NUMBER : 800
VERSION : All
OS : PC DOS
DATE : February 25, 1992 PAGE : 1/1
TITLE : Don't Overlook argv[0]!
The declaration
int main (int argc, char *argv[]) {
is a familiar sight. What you may not know is that argv[0] is a
small treasure. It is the name of the program that is running.
It also contains the path of the program. For instance, if it is
necessary to know the path from which an exceuting program was
invoked, use the fnsplit() function to extract the path from
argv[0]. You can also find out if the program has been renamed
after it was compiled.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/