Could anzone of you make a tutorial for me (the easier Language
Thanks!
Here's the best Raspberry Pi C tutorial: http://cplus.about.com/od/raspberrypi/a ... rry-Pi.htmAaronAlpha wrote:I´ve got my Raspy 5 Dazs ago and I wood like to learn C or C++!![]()
Could anzone of you make a tutorial for me (the easier Language)!
Thanks!

C is a great language! I'm not saying python is better. I just wish I started python before jumping straight into C when I was learning!ShiftPlusOne wrote:C is NOT very difficult, it's just a programming language. It can do a lot more than python can and it can do it with hell of a lot less resources. I am not going to go into it, but take comments about 'language x is better than language y' with a pound of salt.
But yeah, python may be a good language to start with, especially if you want to code for fun rather than professionally.
I would still recommend you pick up 'The C Programming Language' by K&R and give it a go, but python is a good option too.

My preferred language off of the pi is objective c! Wouldn't it be great of only someone built an objective c compiler that works on the pi...bloodline wrote:I personally don't like Python... My preferred language is C (specifically Objective-C), but C++ is excellent:
I suggest these free books called "Thinking in C++" which will help you:
http://www.mindviewinc.com/downloads/TI ... ol-two.zip
There is also thinking in C... Which is only worth reading if you can't get your head around object oriented programming
gcc is an objective-c compiler! Just install the GNUStep runtime and you are away!ZacharyI123 wrote:My preferred language off of the pi is objective c! Wouldn't it be great of only someone built an objective c compiler that works on the pi...bloodline wrote:I personally don't like Python... My preferred language is C (specifically Objective-C), but C++ is excellent:
I suggest these free books called "Thinking in C++" which will help you:
http://www.mindviewinc.com/downloads/TI ... ol-two.zip
There is also thinking in C... Which is only worth reading if you can't get your head around object oriented programming
Brilliant! Thanks! I'll be installing that.bloodline wrote:gcc is an objective-c compiler! Just install the GNUStep runtime and you are away!ZacharyI123 wrote:My preferred language off of the pi is objective c! Wouldn't it be great of only someone built an objective c compiler that works on the pi...bloodline wrote:I personally don't like Python... My preferred language is C (specifically Objective-C), but C++ is excellent:
I suggest these free books called "Thinking in C++" which will help you:
http://www.mindviewinc.com/downloads/TI ... ol-two.zip
There is also thinking in C... Which is only worth reading if you can't get your head around object oriented programming
Happy coding!
-edit- also clang works fine on the Pi (I actually prefer clang to gcc, the error messages are MUCH better).
The difficulty depends on your intelligence. C++ is easier as there is no proper way to put it. You could put:ZacharyI123 wrote:Here's the best Raspberry Pi C tutorial: http://cplus.about.com/od/raspberrypi/a ... rry-Pi.htmAaronAlpha wrote:I´ve got my Raspy 5 Dazs ago and I wood like to learn C or C++!![]()
Could anzone of you make a tutorial for me (the easier Language)!
Thanks!
However C is very difficult. If you're a beginner, try learning python, it can do almost everything c can, but it's much easier to learn and it makes more sense to a beginner. The main advantage of C is that it is slightly faster than python. Here's a website with lots of advantages of python: http://www.webdotdev.com/nvd/content/view/1073/
If you do decide to learn python, I recommend the web tutorials on code academy: http://www.codecademy.com/learn
Code: Select all
main()
{
cout << "Hi";
}Code: Select all
main() { cout << "Hi"; }