Oct 26, 2001 #1 jvff Programmer Joined Apr 1, 2001 Messages 64 Location BR How can I find out the directory the program is??? I need to open a file called "Files\\G6P1.txt". Thank you, JVFF (Janito Vaqueiro Ferreira Filho)
How can I find out the directory the program is??? I need to open a file called "Files\\G6P1.txt". Thank you, JVFF (Janito Vaqueiro Ferreira Filho)
Oct 26, 2001 #2 mbaranski Programmer Joined Nov 3, 2000 Messages 421 Location US usually argv[0] points to the program that's running... Disclaimer: Beware: Studies have shown that research causes cancer in lab rats. Upvote 0 Downvote
usually argv[0] points to the program that's running... Disclaimer: Beware: Studies have shown that research causes cancer in lab rats.