C++ programming help pls

im currently on the hello world assignment in c++. Since im on a mac im using vsc to run and write my code. Do i have to do anything extra for my code to work?.. i get an error saying iostream file not found. How do i solve this? thanks

This could be a better approach for Mac, since you need to install a compiler some times:

https://www.freecodecamp.org/news/how-to-download-and-install-xcode/

Carlos Z