locate the file containing main function [closed]

  c++, grep, main, visual-studio-code

I have a large C++ project and I’m trying to track the code, but I don’t know where is the entry function main. I found it with grep -rs " main(" ./src but I wonder if there’s a better way to locate that function in a large project.

Source: Windows Questions C++