I'm trying to start tackling some C++ tutorials (I'm a total programming n00b), and in doing so this is the first time I've every really needed to do anything in the Terminal. At present though, it seems that I can't even get started with it, as I can't run *anything* via the Terminal as there is some weird issue that I can't seem to find any web advice on.
On opening the terminal I get the following:
(I have substituted my username with 'username' here)
I am trying to compile a program ('your first C++ program 1.1 here: http://www.openframeworks.cc/tutorials/introduction/000_introduction.html) which requires a few lines of code.
But on entering the first line ("cd Desktop") I just get:
-bash: cd: Desktop: No such file or directory
I don't know if I have some weird account issue/corruption on my macbook (Macbook Pro Early 2011). I had an issue where the desktop background was resetting itself every time I rebooted, which I resolved via some advice I found somewhere online, but the problem seems to have re-emerged. I'm pretty sure I remember it being something to do with the computer being confused about user accounts, but there should only really be one account (my 'username' one) on my Macbook, and to my knowledge I have never created or used any other. I have had the Macbook since new, btw.
Anyone able to offer any advice/shed any light on this please?
Many thanks in advance
----------
The bit with should of course be a : and D next to each other, but the forum renders it as an emoticon.
On opening the terminal I get the following:
Code:
unknown-e4:ce:8f:17:a5:ae:Desktop username$
I am trying to compile a program ('your first C++ program 1.1 here: http://www.openframeworks.cc/tutorials/introduction/000_introduction.html) which requires a few lines of code.
But on entering the first line ("cd Desktop") I just get:
-bash: cd: Desktop: No such file or directory
I don't know if I have some weird account issue/corruption on my macbook (Macbook Pro Early 2011). I had an issue where the desktop background was resetting itself every time I rebooted, which I resolved via some advice I found somewhere online, but the problem seems to have re-emerged. I'm pretty sure I remember it being something to do with the computer being confused about user accounts, but there should only really be one account (my 'username' one) on my Macbook, and to my knowledge I have never created or used any other. I have had the Macbook since new, btw.
Anyone able to offer any advice/shed any light on this please?
Many thanks in advance
----------
The bit with should of course be a : and D next to each other, but the forum renders it as an emoticon.