-
Hi guys, I started to do my work on macOS lately, and I found it annoying to use Xcode for CP stuff. So I have GCC installed via HomeBrew and replaced the default g++ with g++-10 (kinda like this). My CP Editor messages :
But when I run the same file on command line with Can anyone help me pls ? P/s : If anything, forgive my poor English, I'm learning though ... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Does this error occur when you are not including |
Beta Was this translation helpful? Give feedback.
-
I don't think we have to focus on the 'permission' line, because I tried again with my cpp file on ~/Documents folder and it still responded the same way, just without the 'permission' line
|
Beta Was this translation helpful? Give feedback.
-
Can you show the error you get when setting compile command as |
Beta Was this translation helpful? Give feedback.
-
Actual Answer:
|
Beta Was this translation helpful? Give feedback.
Actual Answer: