Why is it so difficult to find an absolute beginner-friendly book/web guide to learn this language, especially on Linux? Their's, "C Programming Language," by Kernighan but that seems geared toward the novice with some sort of background. I just wanna get into hardware hacking and Arduino stuff.
>Their's, "C Programming Language," by Kernighan but that seems geared toward the novice with some sort of background What the fuck do you mean? TCPL is literally brainlet tier. If you can't follow through it, you should give up computers and go flip burgers you worthless piece of scrap meat.
kn king > all other beginner c books
Well the book explicitly says that its not for beginners but for people with some precious experience
If all you want to do is hardware hacking and Arduino stuff then maybe you should look at your local maker/hacker space. Those tend to have beginner friendly classes once in a while.
I consider myself a brainlet, and learned C when I was 15yo downloading random source code samples in the night using a dialup internet conection, then dedicated days random copy pasting code and making changes to see what happened, then I got the K&R C book
so? did you read any of it or that half hour or filtering bullshits from all the links I've accumulated over time to make a compilation post that gets no feedback except that one telling how pointless it it was waste of time?
if you know how to write hello world and know basic control flow, then writing more code will teach you more from mistakes
Every time I see OP's picture and hear someone talk about C, I get real hard and excited.
Ask yourself this you fucking brainlet, how did programmers back in the day learn "C" without the fucking internet, without books ?. The learning resources that are out there now and you still can't into "C". Do something else with your life because you'll never fucking make it a programmer, ever.
I've just started doing research with my advisor. I need to be able to diagonalize [math] 10^9 \times 10^9 [/math] value matrices. anyone here know of some literature that would help me out?
Go on mathexchange and be more specific.
wouldnt matlab's eig() work or is 10^9 to big for matlab?
What level are you at with Python? C is important to learn eventually (whether you want to program arduinos or not), but it's probably not the best idea for a novice.
I suggest you solve the first few Project Euler problems in Python, then port your solutions to C. After that, there's only really one concept in C that Python almost completely lacks, which is the pointer. Tackle that problem after you can write pointer-free code somewhat competently.
Yeah I schedule out time to read through a lot of them and they are good references. I wish there were better ways to concatenate all these sources though.
Bad advice. C is better than Python for a novice, because Python hides too much stuff away with abstractions, which will end up giving you a weak foundation.
Truth. For example a beginner will never understand why 5/2 is 2 in Python because Python is dynamically typed. Starting with something like Python or Java is a recipe for being a mediocre/shit at programming.
5/2 isn't 2 in python though
>especially on linux what ? you want to learn the language or how an interpreter/compiler works in linux ? I really dont get it, + C is one of the easiest languages to learn (my 2nd fastest language i've learnt, behind brainfuck)