CaffeineAddict
Well-Known Member
That's quite normal, you should have few tabs open at all times when coding.But everytime I want to create something from scratch all I can remember is:
I don't think there is a single developer that can code much out their head alone, there's just too much to it, nobody has Intel CPU in their head.
Keep 1 tab open to StackOverflow, 1 tab to library reference you're working with, 1 tab to C standard and 1 more to search the web, keep as as many as you need, there's no rule, the point is you do need internet and quick responses.
Keep few PDF's too such as gdb debugger book, mastering gdb is important to deal with strange behaviors in your code.
Sorry I don't know anything of this book, I "learned" C ByTheWay when I was into C++ and assembly recently because C is unavoidable for these.Wait, this means that the K&R book of C is not enough?
Whether this book is enough depends, not every book is good for beginners.
Don't bother to type code out of a book, copy it instead quickly compile and study what it does, practice by typing is waste of time.I tought that just by repeating the same source codes I saw written on the book and on some youtube tutorials was enough to learn to code with C.
Tip of all times that helps me learn a new language quickly is this:
Spend a week or two on theory only without coding anything (from a book, copy samples from book study it etc.).
Then start working on a simple project.
The sample project will force you revisit your book and theory, keep working on it and complete your sample.
When you're done with your 1st project you'll already feel confident to try something bigger without any help from books.
edit:
There ARE things you do need to memorize though, you need to memorize how to write a loop for instance and some basic C functions such as memcmp, malloc, free, memcpy, printf etc.etc. and stuff that is a matter of the language itself.
You need to memorize the whole language ONLY.
But memorizing some external libraries is pointless, if you remember that it's OK but don't force it.
Last edited:

