Visual studio encountered an ambiguous printf

Article catalog

Code a pile of red, no error.

When this happens to visual studio,

Author’s solution:

1. Set using namespace STD
2. Save the cpp file after deletion,
3. Add using namespace STD
4. Save the cpp file.

Don’t ask me why, anyway, the red wavy line has disappeared!

Read More: