|
I've used "The ARM" (https://www.amazon.ca/Annotated-C-Reference-Manual/dp/0201514591[^]. It is very much in K&R style: only "meat and potatoes" without much "fluff".
Just like K&R, it is a bit dated now. It will serve you well to get the basic concepts but for templates and standard library stuff, you would need another book.
Mircea
|
|
|
|
|
Salvatore Terress wrote: This is not a programming question. It's still in bad taste given the fact you obviously can't be trusted.
Salvatore Terress wrote: Please share your actual experience and tell your opinion Why the fudge are you bolding crap? Do you honestly think we can't tell what you mean by that?
Salvatore Terress wrote: C++ learning book ( no u-tube, PLEASE ) written in One could argue, given who you are, this still would've been better asked in the C++ forum. What you don't realize, personally, I'll never answer a question you ask... never. And I doubt I'm the only one.
Jeremy Falcon
|
|
|
|
|
Shouldn't that be,
Quote: I'll never answer a question you ask... never.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Ha ha ha ha... fo sho.
Jeremy Falcon
|
|
|
|
|
Never say never, Jeremy.
|
|
|
|
|
*lol* what now is more important...
a.) Understanding the language concept, syntax, ...
b.) Indentation style
In case you decide for b.) you should looking for another job
|
|
|
|
|
Rather than K&R for C++ you should be inquiring of Harbison & Steele for C++.
|
|
|
|
|
We should take the opportunity and praise the book K&R. After 36 years since the publication of the 2nd edition (1988) and 46 years since the 1st one (1978), it is still a masterpiece of programming that every young programmer should read carefully.
The importance of this book and of the "C" language to everithing that followed (C++, java, C# etc.) cannot be overestimated.
Ever wonder why all books write key words with proportional font and the rest of text with true-type?
K&R is a small book, but because it is very concise: every word counts - I would say every comma counts. Take for example the phrase that describes how to interprete a missing "else" from a nested "if" sequence: "...by associating the else with the closest previous else-less if."
One should read this book slowly and carefully, then run all the programs inside, solve all the exercises, and then read the book again.
Code examples are true marvels, from elementary to complex ones, like the Unix file implementation or the memory allocator.
The C reference manual and the description of the standard libraries af the end of the book are also splendid.
One should also consider the "C Problem Book" with answers to exercises.
You will never find a truly similar book for any other language or topic.
Rest in piece, DMR.
|
|
|
|
|
My oldest grand kid got bitten by technology , he is in rockets now, and at one point inquired about C.
I have given him one of my copies of K&R with this advise - read it as a novel FIRST - from cover to last cover... then pick a project of interest and follow the book code.
I am not sure he was OK with that advise, he dabbled in Python afterwords...
|
|
|
|
|
Greetings Keng Regards
May I suggest Harbison & Steele as an addition to the preferred C tomes. It is unfortunate they did not write a C++ reference.
Best Wishes
|
|
|
|
|
|
The book used when I took my first formal course in C++ at a university was:
"Problem Solving With C++" 'the Object of programming' by Walter Savitch
ISBN 0-8053-7440-X
Along with this, my professor had daily handouts, usually 1-4 pages long, of typed material about the language, and he went over the notes using his overhead-projector, and pointed out a lot of things. The professor retired a couple of years later, and the university's bookstore started self-publishing his classroom notes. The other professors all taught using different materials and texts, and this was just before Java got a foothold.
|
|
|
|
|
I wouldn't say the style is the same as K&R, but I learned C++ from the book C++ FAQs.
|
|
|
|
|
There is a series of books called Sams Teach Yourself <_Subject HERE_> in 24 hours.
It means 1 hour each day, but you can set your own pace.
I have found it very helpful in previous times, from C# to SQL.
I searched just now and I found an online version of it.
Sams Teach Yourself C++ in 24 Hours: Writing Your First Program[^]
Good luck!
|
|
|
|
|
Wordle 1,041 3/6
⬛🟨⬛🟨⬛
⬛🟩🟨🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,041 4/6
⬜⬜⬜🟨⬜
🟨🟨⬜⬜🟨
⬜🟨⬜🟨🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,041 4/6
⬜⬜🟨⬜⬜
⬜🟨⬜🟨🟨
🟨🟨⬜🟨🟨
🟩🟩🟩🟩🟩
Doesn't look like a formal dictionary word, isn't it?
|
|
|
|
|
Wordle 1,041 4/6*
⬜🟨⬜⬜⬜
🟨⬜🟨🟨⬜
🟨🟨🟩🟩🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
⬜🟨⬜🟨⬜
🟩🟩⬜⬜🟨
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,041 5/6
⬛⬛🟨🟨⬛
🟨🟨🟨🟨⬛
🟨⬛🟨🟨🟨
🟨🟨🟩🟩🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,041 3/6*
⬜🟨🟨⬜⬜
⬜🟨⬜🟩🟨
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,041 5/6
🟨⬜🟨🟨⬜
⬜🟨🟨⬜🟨
⬜⬜⬜⬜⬜
⬜⬜⬜⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,041 4/6*
⬛🟨🟨🟨⬛
🟨🟨🟨🟨⬛
⬛🟩🟨🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Following discusses a new feature in C# which as it looks to me, just means code can be written in even more obscure ways to no point. It allows one to implicitly specify a constructor.
Refactor your C# code with primary constructors - .NET Blog[^]
I have been doing this a long in multiple OO languages and I can say for certain that I never, not even once, wished that I could write code that would mingle the constructor with a method call.
Seems like a perfect way for someone to decide to make modifications after the fact without refactoring but by trying to hack a way into using the same code.
|
|
|
|
|
I agree, I'm slightly concerned that it doesn't bring anything useful to the party, rather it muddies the water. Maybe I'm just a stick in the mud.
|
|
|
|