0

Why does c++ automatically name the file "a.out"? Is there some significance to this?

$ g++ day2-operators.cpp 
$ ls
a.out  day2-operators.cpp  precision.cpp 
Jonathan Kittell
  • 7,163
  • 15
  • 50
  • 93

1 Answers1

2

a.out is a file format used in older versions of Unix-like computer operating systems for executables, object code, and, in later systems, shared libraries. The name stands for "assembler output" - Wikipedia

You could call it tradition.

Shiro
  • 2,610
  • 2
  • 20
  • 36