Page 4 of 4

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

Posted: Fri Jun 12, 2020 4:24 pm
by dsyleixa123
would you mind to please stay on-topic?
Where can I begin learning C/C++?

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

Posted: Fri Jun 12, 2020 4:30 pm
by ejolson
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.

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

Posted: Fri Jun 12, 2020 5:19 pm
by Heater
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.

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

Posted: Fri Jun 12, 2020 8:00 pm
by dsyleixa123
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-)

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

Posted: Fri Jun 12, 2020 8:17 pm
by Heater
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.

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

Posted: Fri Jun 12, 2020 8:26 pm
by dsyleixa123
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.

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

Posted: Fri Jun 12, 2020 8:28 pm
by PeterO
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

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

Posted: Fri Jun 12, 2020 8:30 pm
by dsyleixa123
or update it by using qt5 creator instead

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

Posted: Fri Jun 12, 2020 8:42 pm
by ejolson
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.

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

Posted: Fri Jun 12, 2020 8:50 pm
by PeterO
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