I am now officially started to learn C. I eventually want to be able to code basic robots. I have also gotten a copy of "The C Programming Language" I have heard it is the Bible of C so I figured I should have one.
I have coded some C++, javascript, html, and css so coding is not new to me but I have heard C is no easy language to tackle.
I am running both ubuntu linux and windows vista but I imagine that i will be doing most of my C programming on ubuntu because that is what it is designed for.
So I cracked open the Bible and in the first two pages I am writing the famous 'Hello, world!" program. I like coding in the first two pages. But I have run into a snag; I am using Eclipse, heard it was good but I am not sure yet (if you have other editor suggestion by all means suggest them), and I wrote the program as instructed by the book. Saved it as 'hello.c' and compiled it in the terminal with the 'cc' command. It gave me an 'a.out' file which I tried to run by typing 'a.out' in the terminal. The output was 'a.out command not found'.
I double and triple checking my spelling and syntax but it was correct. I am not sure what I am doing wrong and would like to continue working on this as soon as i get over this little hiccup.
Thanks in advance for the help.