[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
Brads Electronic Projects Forum • C++ Tutorials
Page 1 of 1

C++ Tutorials

Posted: Tue Feb 14, 2012 4:13 pm
by Chuckt
(This might help Arduino users.)

Lesson 1: The basics of C++

http://www.cprogramming.com/tutorial/lesson1.html

Re: C++ Tutorials

Posted: Mon Feb 20, 2012 4:54 pm
by brad
That is a great site, I have used it for numerous languages!

Re: C++ Tutorials

Posted: Fri Aug 31, 2012 1:45 pm
by Saimaster13
I have heard Arduino uses C, not C++. Is that true? Which one would I be better off learning?

Re: C++ Tutorials

Posted: Sat Sep 01, 2012 11:12 am
by W4GNS
Saimaster13 wrote:I have heard Arduino uses C, not C++. Is that true? Which one would I be better off learning?


Pesonally I think Ardunio is closer to C++, but like you I have seen folks also compare it closer to C. For embedded work you would be better of with C, as there are a great deal more compilers that just compile C. With embedded C++ compilers being few and far between.
Just my 2 cents worth, your mileage may vary. :D

Re: C++ Tutorials

Posted: Sat Sep 01, 2012 1:40 pm
by brad
That sounds about right W4GNS : )

Re: C++ Tutorials

Posted: Sun Sep 02, 2012 3:46 am
by Saimaster13
So, for programs on a computer, I would want to learn C++, but for microcontroller programming, I would be better off learning C? I want to learn this to program an arduino, but I do eventually want to get into PIC programming, so would it be better to learn C since it can transfer over to PICs?

Re: C++ Tutorials

Posted: Mon Sep 03, 2012 2:09 am
by W4GNS
Joshua
It's really hard for anyone to give a complete C or C++ answer. If you feel C++ would be better, then that may work better for you. C++ will give you a good start with Ardunio. Atmel has a compiler that knows C++ called WinAVR if you choose to work with AVR's later. Microchip(PIC) wise SourceBoost has a compiler that is aware of C++. http://www.sourceboost.com/ though it is a commerical product and you do have to pay for a unrestriced version, but it's not very expensive. By the way SourceBoost compiles good tight code, though SourceBoost is not beginner friendly in my opinion.
Once you learn one or the other then it will not be much more effort to learn the latter. As C++ is a child of C, they are more the same than different.

Re: C++ Tutorials

Posted: Mon Sep 03, 2012 4:05 am
by W4GNS
BTW, Here is a programming site I visit often, complete with forums, tutorials, etc etc http://forum.codecall.net/page/index.html

Re: C++ Tutorials

Posted: Mon Sep 03, 2012 5:27 am
by bitfogav
I personally would start with learning C first, atleast then you have the knowledge and basics of the C language, so then if you need to programme in C++ then the jump between C and C++ would be very little..

I gotta say I like AVR Studio myself.. - http://www.atmel.com/microsite/avr_studio_5/

And for tutorials I found thenewboston site a good starting point http://thenewboston.org/tutorials.php
theres pretty much tutorials for everything!!, C,C++,C#,Java,Visual Basic,Iphone,Android even HTML5 :)

Re: C++ Tutorials

Posted: Mon Sep 03, 2012 5:44 am
by W4GNS
bitfogav wrote:..I gotta say I like AVR Studio myself.. - http://www.atmel.com/microsite/avr_studio_5/

bitogav, Surely pointing to Studio 5 was an oversight........... :wink:
Studio 5 is full of bugs, and as I write this Studio 6 has been around awhile. http://www.atmel.com/microsite/atmel_st ... fault.aspx\

Edit: If I recall correctly, Studio 5 never made it out of Beta, I may be wrong on that........