| ▲ | on_the_train 5 hours ago | ||||||||||||||||||||||||||||||||||||||||
It's been the go-to syntax for 15 years now | |||||||||||||||||||||||||||||||||||||||||
| ▲ | Night_Thastus 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
Go-to? I've never seen a project use it, I've only ever seen examples online. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | cpburns2009 4 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
Now I haven't touched C++ in probably 15 years but the definition of main() looks confused: > auto main() -> int Isn't that declaring the return type twice, once as auto and the other as int? | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||