Code::Blocks Forums

User forums => Help => Topic started by: s3anmik3 on January 17, 2012, 09:22:46 am

Title: Why is this happening?
Post by: s3anmik3 on January 17, 2012, 09:22:46 am
Could anybody care to explain why this is happening? I am currently running codeblocks on Mac OSX. I just installed it and I opened a file that was given to me by my professor and I keep getting this error. Any help would be greatly appreciated.

Last login: Tue Jan 17 02:53:40 on ttys000
/Users/s3anmik3/Desktop/COP 3223/First_Program1
Sean-Unamkas-MacBook-Pro:~ s3anmik3$ /Users/s3anmik3/Desktop/COP 3223/First_Program1
-bash: /Users/s3anmik3/Desktop/COP: No such file or directory
Sean-Unamkas-MacBook-Pro:~ s3anmik3$

Thanks in advance.
Title: Re: Why is this happening?
Post by: frithjofh on January 17, 2012, 10:58:09 am
Hi,

I think you should remove the space in the directory "COP 3223". Replace it with an underscore or anything you like.

C::B has problems finding the directory. Obviously it searches for one that is called only "COP", so it stop reading at the above mentioned space.

Regards
Title: Re: Why is this happening?
Post by: s3anmik3 on January 17, 2012, 03:39:34 pm
Hi,

I think you should remove the space in the directory "COP 3223". Replace it with an underscore or anything you like.

C::B has problems finding the directory. Obviously it searches for one that is called only "COP", so it stop reading at the above mentioned space.

Regards

I appreciate the reply but I followed your instructions and used an underscore but the same results still occur. Is there any other reason this might be happening?