Problem with codeblocks in MacBook(High Sierra)

this is my code:-


pavans-MacBook-Pro:~ pavank$ /Users/pavank/Desktop/CPP Codeblocks/kusy/bin/Debug/kusy
-bash: /Users/pavank/Desktop/CPP: Last login: Fri Oct 20 10:49:04 on ttys000
pavans-MacBook-Pro:~ pavank$ /Users/pavank/Desktop/CPP Codeblocks/kusy/bin/Debug/kusy
-bash: /Users/pavank/Desktop/CPP: No such file or directory
pavans-MacBook-Pro:~ pavank$

……………………
The code is struck somewhere in terminal."'No such file or directory'". What is this error actually.
I tried different plugin settings,But it didn't work. Can anyone tell me how can I resolve this issue…


Thank you,
pavan


Last edited on
cd "/Users/pavank/Desktop/CPP Codeblocks/kusy/bin/Debug"
./kusy


Please learn how to use your computer first. Then you can learn how to program it.
To expand on Helios' answer, the problem here seemed to be that you have a space in a directory name, so you were entering the command:

/Users/pavank/Desktop/CPP

Don't put spaces in directory names, but if you do, watch out for them.
Topic archived. No new replies allowed.