guagua0407's blog

By guagua0407, history, 3 months ago, In English

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

Read more »

 
 
 
 
  • Vote: I like it
  • -4
  • Vote: I do not like it