Program name: Difference between revisions

Content added Content deleted
(Added C example)
 
No edit summary
Line 4: Line 4:
=={{header|C}}==
=={{header|C}}==
C has difficulty accessing source code filenames, because C code must be compiled into an executable. However, C can access the executable's filename.
C has difficulty accessing source code filenames, because C code must be compiled into an executable. However, C can access the executable's filename.



<lang c>int main(int argc, char **argv) {
<lang c>int main(int argc, char **argv) {