dsyleixa123
Posts: 1025
Joined: Mon Jun 11, 2018 11:22 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 4:24 pm

would you mind to please stay on-topic?
Where can I begin learning C/C++?

ejolson
Posts: 5976
Joined: Tue Mar 18, 2014 11:47 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 4:30 pm

dsyleixa123 wrote:
Fri Jun 12, 2020 4:24 pm
would you mind to please stay on-topic?
Where can I begin learning C/C++?
Sure. By the way, thanks for posting a link to those revisions of Simon's book on learning C earlier in this thread.
dsyleixa123 wrote:
Wed Oct 02, 2019 9:01 am
hi,
I would recommend to start with this one:
http://fractal.math.unr.edu/~ejolson/pi ... dified.pdf (revised MagPi version)

(ask 3 people and you'll get 4 opinions ;) )
I'm glad to hear that effort had some use!

Note that about half the code appearing in the thread on tiling floors with Tatami carpets is written in C. Therefore, that thread and its precursors are mostly a demonstration of how to learn C as well as other programming languages.

Heater
Posts: 16832
Joined: Tue Jul 17, 2012 3:02 pm

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 5:19 pm

dsyleixa123 wrote:
Fri Jun 12, 2020 4:24 pm
would you mind to please stay on-topic?
Where can I begin learning C/C++?
There is no topic. Our opening post was a long time ago and the OP was not interested in the answers to ever come back.

But, if you insist, for C get the white book by K&R. For C++ get the books by Bjarne Stroustrup. Then you are all set.
Memory in C++ is a leaky abstraction .

dsyleixa123
Posts: 1025
Joined: Mon Jun 11, 2018 11:22 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:00 pm

I once had the books
Introduction to Turbo Pascal by which I started programming, then switched to C via
Introduction to Turbo C
Borland C++ Builder for Kids
Game programming for Kids with C++
Goto C++ Builder 4.0/5.0
edit: and many Arduino C++ projects, learning by doing
all developing smart little projects and enhancing them step by step, partially by GUI IDEs feat. auto code-generation for window forms and all without annoying and nerv-racking make and makefile orgies ;)
For looking up function code I love the useful small examples provided by cplusplus.com, extremley helpful for learning.
Borland C++ Builder is still available for Windows (freeware: https://github.com/dsyleixa/Borland-Cpp ... /README.md), and as I don't know such excellent books for Pi and Linux I would suggest to start with one of them, and later switch to qt creator+designer 8-)
Last edited by dsyleixa123 on Fri Jun 12, 2020 8:26 pm, edited 1 time in total.

Heater
Posts: 16832
Joined: Tue Jul 17, 2012 3:02 pm

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:17 pm

I imagine that tying to learn C++ from a book that uses Borland C++ Builder will be an exercise in frustration if one does not have Borland C++ Builder.

C++ is a programming language that is independent of any GUI libraries or IDE. If you want to learn the language then learn the language.
Memory in C++ is a leaky abstraction .

dsyleixa123
Posts: 1025
Joined: Mon Jun 11, 2018 11:22 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:26 pm

as stated, Borland C++ Builder is still available for free: https://github.com/dsyleixa/Borland-Cpp ... /README.md
IMO it's best to learn C/C++ by project tutorials, by doing.
Or by Arduino instead of BCB, or both.
Last edited by dsyleixa123 on Fri Jun 12, 2020 8:29 pm, edited 1 time in total.

User avatar
PeterO
Posts: 5966
Joined: Sun Jul 22, 2012 4:14 pm

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:28 pm

ejolson wrote:
Fri Jun 12, 2020 4:30 pm
dsyleixa123 wrote:
Fri Jun 12, 2020 4:24 pm
would you mind to please stay on-topic?
Where can I begin learning C/C++?
Sure. By the way, thanks for posting a link to those revisions of Simon's book on learning C earlier in this thread.
dsyleixa123 wrote:
Wed Oct 02, 2019 9:01 am
hi,
I would recommend to start with this one:
http://fractal.math.unr.edu/~ejolson/pi ... dified.pdf (revised MagPi version)

(ask 3 people and you'll get 4 opinions ;) )
I'm glad to hear that effort had some use!

Note that about half the code appearing in the thread on tiling floors with Tatami carpets is written in C. Therefore, that thread and its precursors are mostly a demonstration of how to learn C as well as other programming languages.
What would be useful would be for someone to take his C +GUI book and upgrade it to Gtk3 sometime before it becomes 2 major releases out of date !
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

dsyleixa123
Posts: 1025
Joined: Mon Jun 11, 2018 11:22 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:30 pm

or update it by using qt5 creator instead

ejolson
Posts: 5976
Joined: Tue Mar 18, 2014 11:47 am

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:42 pm

dsyleixa123 wrote:
Fri Jun 12, 2020 8:30 pm
or update it by using qt5 creator instead
A port to Borland C++ Builder would never go out of date in the future.

User avatar
PeterO
Posts: 5966
Joined: Sun Jul 22, 2012 4:14 pm

Re: Where can I begin learning C/C++?

Fri Jun 12, 2020 8:50 pm

dsyleixa123 wrote:
Fri Jun 12, 2020 8:30 pm
or update it by using qt5 creator instead
That's a not an update, it's a totally different book !
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Return to “C/C++”