Hey everyone,

I'm trying to make a program that, when compiled, the executable will know its name.

For example, the filename could be asdf.exe, and when I cout the name, it will show asdf.exe, or when its renamed to qwerty.exe, the file will output qwerty.exe.

Probably really simple,

I tried using __FILE__, but that just shows file's name that you're working on...