Hi, I'm a mac user. Recently I tried to run code on terminal, but this error appeared.↵
↵
↵
ans.cpp:1:10: fatal error: 'bits/stdc++.h' file not found↵
#include <bits/stdc++.h>↵
^~~~~~~~~~~~~~~↵
1 error generated.↵
↵
↵
I then searched for solutions and found out that installing gcc with homebrew would work, so I installed gcc.↵
↵
↵
But it still showed the same error, Can anyone help me find out why?↵
↵
↵
Thank you↵
↵
![ ](https://ibb.co/6BKdcYy)↵
↵
↵
ans.cpp:1:10: fatal error: 'bits/stdc++.h' file not found↵
#include <bits/stdc++.h>↵
^~~~~~~~~~~~~~~↵
1 error generated.↵
↵
↵
I then searched for solutions and found out that installing gcc with homebrew would work, so I installed gcc.↵
↵
↵
But it still showed the same error, Can anyone help me find out why?↵
↵
↵
Thank you↵
↵