I started doing my program on dev c without and I did not have any errors.
Then I wanted to continue in codeblocks from mac but in the terminal I showed this TERM environment variable not set .. it appeared in each window as a title and as it was giving me problems other than that I thought it was codeblocks.
I decided to program in Xcode although I do not have as much experience but that kept appearing in the terminal. What can it be?