Where can I begin learning C/C++?
-
- Posts: 1117
- Joined: Mon Jun 11, 2018 11:22 am
Re: Where can I begin learning C/C++?
would you mind to please stay on-topic?
Re: 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: ↑Fri Jun 12, 2020 4:24 pmwould you mind to please stay on-topic?Where can I begin learning C/C++?
I'm glad to hear that effort had some use!dsyleixa123 wrote: ↑Wed Oct 02, 2019 9:01 amhi,
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)
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++?
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.dsyleixa123 wrote: ↑Fri Jun 12, 2020 4:24 pmwould you mind to please stay on-topic?Where can I begin learning C/C++?
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 .
-
- Posts: 1117
- Joined: Mon Jun 11, 2018 11:22 am
Re: Where can I begin learning C/C++?
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
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

Last edited by dsyleixa123 on Fri Jun 12, 2020 8:26 pm, edited 1 time in total.
Re: Where can I begin learning C/C++?
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.
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 .
-
- Posts: 1117
- Joined: Mon Jun 11, 2018 11:22 am
Re: Where can I begin learning C/C++?
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.
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.
Re: Where can I begin learning C/C++?
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 !ejolson wrote: ↑Fri Jun 12, 2020 4:30 pmSure. By the way, thanks for posting a link to those revisions of Simon's book on learning C earlier in this thread.dsyleixa123 wrote: ↑Fri Jun 12, 2020 4:24 pmwould you mind to please stay on-topic?Where can I begin learning C/C++?I'm glad to hear that effort had some use!dsyleixa123 wrote: ↑Wed Oct 02, 2019 9:01 amhi,
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)
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.
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
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
-
- Posts: 1117
- Joined: Mon Jun 11, 2018 11:22 am
Re: Where can I begin learning C/C++?
or update it by using qt5 creator instead
Re: Where can I begin learning C/C++?
A port to Borland C++ Builder would never go out of date in the future.
Re: Where can I begin learning C/C++?
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
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