№8076
>asking technology questions
>on zoomer reddit soyjack site
lol
№8077
>>8075just write a program with arrays, maybe a double linked list, pointers, malloc(), free(), size(), structs, and you'll get it probably
№8078
>>8077also don't think that you can write every project in C. some libraries are gonna have C++ interfaces. some things are better written in C++. not everything THOUGH
№8079
>>8075If you already know programming then just learn by doing. write some programs (google is your friend, chatgpt is also your friend).
if you dont already know how to program, then start with an easier language like python/js/whatever zoomer language is trending today
№8085
if you don't already know how to program then look into CS50, it's a harvard course that's offered online for free and it teaches you basic C before moving onto Python later into the course
if you do already know how to program then i've heard good things about the book Effective C by Robert Seacord although i've not read it myself
№8089
C is a bad language in general and a terrible first language in particular.
If you dont know how to program at all its like learning algebra and set theory before learning regular arithmetic. Start with python, then learn C++ (the superior language) and your assembly of choice if you want, and THEN if you want you can downgrade to the much worse C.
You will never in your whole programming career run into a problem where C would be better than C++, outside of bizarre SAW-tier scenarios. Much less if you actually have to come ask the sharty if you can learn C from a video and some leetcode.
№8099
>>8097oh the post number ahahhahahahah thats so funny
№8105
>>8102>unspecified reasonif it's hacking then Hacking: The Art of Exploitation is a good book on the subject
№8112
I personally tryed with k&r didn't like it but I agree that's the best way to learn the language
№8113
>>8087bait or mental retardation
everyone know books are the best way to learn languages, he probably didn't mean buying the actual book rather getting the pdf
№8119
>>8102There's no real reason to use C instead of C++ outside of ideology or very niche applications like embedded systems.
C++ is basically C but improved in every possible way. You'll never run into a problem where C would be better than C++.
№8121
>>8113>everyone know books are the best way to learn languagesif this was 1990 maybe
№8126
>>8113>he probably didn't mean buying the actual book rather getting the pdfcorrect, these sort of books are stupidly expensive and you should pirate them
№8127
>>8113>>8126publishers don't want you to know this but books are free at the library.
№8142
>>8089C is a great first language, because it teaches you how computers work. C comes first. i'm not advocating writing everything in C - but you should learn it first
№8154
>>8138i'm afraid not, i was recommended that book by someone else here and i don't know where he found it
it's a really good book though
№8159
What i couldn't wrap my head around back then is to what a pointer did, and its simply just a memory address, so its value is equal to the highest your processor supports and thats it, if you want to write readable pointer code, avoid the syntatic sugar that [] provides, its much more understandable for a beginner the addition of an address then dereferencing of it ie. *(ptr+i)