2016-09-05 3 views
0

간단한 문장을 실행 해 보았지만 터미널에 표시되지 않았습니다. 나는 xcode 명령어 라인과 함께 xcode를 가지고있다. 어떤 문제가 될지 모르겠다. xcode를 다운로드 한 디렉토리에 문제가있는 것일까? 아니면 Codeblocks입니까?Mac 용 CodeBlocks가 터미널에 나타나지 않습니다.

As you can see, I've tried running a simple statement but it fails to show up in the terminal. I do have xcode along with xcode command line. I don't know what could be the problem, would it be a problem with the directory where I downloaded xcode? or maybe Codeblocks?

+0

코드를 게시하시기 바랍니다! – HazemGomaa

+0

내 의견에 링크 된 스크린 샷이 있습니다. 죄송합니다 :/여기에 새 사용자가 있습니다. –

답변

1

은 당신의 명령에 여러 개의 공간이있다. 디렉터리 이름을 바꾸거나 해당 공백을 제거하려면 공백 문자를 \을 사용하거나 " 안에 넣어야합니다. 예를 들어

:

g++ /home/user name/code.cpp // won't work 
g++ /home/user\ name/code.cpp // escaping space character 
g++ "/home/user name/code.cpp" // using quotation marks 
관련 문제