When I use cygwin I keep getting -bash: g++: command not found

I my saved notepad folder into my cygwin home folder (so when I started cygwin terminal it would be already at the file), when I used the command ls (list) it shows my program hello_world.cpp so then I tried to compile it using the command g++ hello_world.cpp I keep receiving the message "-bash: g++: command not found" any suggestions?
Last edited on
Maybe gcc directory is not in the PATH?
closed account (Dy7SLyTq)
cygwin doesnt have g++ by default
Topic archived. No new replies allowed.