try/binpath
cwd: /mnt/hdb5/code/c++
argv[0]: try/binpath
./try/binpath
cwd: /mnt/hdb5/code/c++
argv[0]: ./try/binpath
./binpath
cwd: /mnt/hdb5/code/c++/try
argv[0]: ./binpath
home/micha/code/c++/try/binpath
cwd: /
argv[0]: home/micha/code/c++/try/binpath
../../c++/try/binpath
cwd: /mnt/hdb5/code/projects/hover
argv[0]: ../../c++/try/binpath
~/code/c++/try/binpath
cwd: /mnt/hdb5/code/c++/try
argv[0]: /home/micha/code/c++/try/binpath
~/code/c++/try/binpath
cwd: /mnt/hdb5/code/c++
argv[0]: /home/micha/code/c++/try/binpath
/mnt/hdb5/code/c++/try/binpath
cwd: /mnt/hdb5/code/c++
argv[0]: /mnt/hdb5/code/c++/try/binpath
gdb ./binpath
cwd: /mnt/hdb5/code/c++/try
argv[0]: /mnt/hdb5/code/c++/try/binpath
gdb try/binpath
cwd: /mnt/hdb5/code/c++
argv[0]: /mnt/hdb5/code/c++/try/binpath
cygwin
cwd: /cygdrive/l/code/c++/try
argv[0]: ./binpath
windows explorer
cwd: /cygdrive/l/code/c++/try
argv[0]: /cygdrive/l/code/c++/try/binpath
mingw
cwd: l:\code\c++\try
argv[0]: l:\code\c++\try\binpath.exe
mingw compiled - from explorer
cwd: D:\
argv[0]: D:\binpath.exe
mingw compiled - from explorer
cwd: D:\Dokumente und Einstellungen\Micha\Eigene Dateien
argv[0]: D:\Dokumente und Einstellungen\Micha\Eigene Dateien\binpath.exe