C++ Tutorials
Moderators: Chuckt, Garth, bitfogav
-
- I practically live here!
- Posts: 1127
- Joined: Sun Mar 28, 2010 1:36 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
C++ Tutorials
(This might help Arduino users.)
Lesson 1: The basics of C++
http://www.cprogramming.com/tutorial/lesson1.html
Lesson 1: The basics of C++
http://www.cprogramming.com/tutorial/lesson1.html
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
That is a great site, I have used it for numerous languages!
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
I have heard Arduino uses C, not C++. Is that true? Which one would I be better off learning?
Joshua
-
- newbie
- Posts: 6
- Joined: Wed Feb 23, 2011 10:02 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
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.
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
That sounds about right W4GNS : )
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
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?
Joshua
-
- newbie
- Posts: 6
- Joined: Wed Feb 23, 2011 10:02 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
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.
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.
-
- newbie
- Posts: 6
- Joined: Wed Feb 23, 2011 10:02 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
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
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
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
If you don't know what Voltage your country is using, you shouldn't be doing electronics
-
- newbie
- Posts: 6
- Joined: Wed Feb 23, 2011 10:02 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: C++ Tutorials
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...........
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........
Who is online
Users browsing this forum: No registered users and 4 guests