Okay. I'm highly annoyed at how hard it is to find good source code samples on the Internet without downloading zip files which contain the code. I really don't like spending my time downloading large zip files with many many source files included therein. It is just too monstrous.
On the other hand, reading APIs is too monstrous as well because most APIs are simply ENORMOUS with most of the functions easily user-implementable anyway. (at least I think so). Plus the fact that any API is COMPLETELY incompatible with all other APIs, for the most part, and it really becomes a PITA. It is difficult to filter through the useful functions from the useless, and ridiculously large nested structures and classes are just the worst!
It seems the only way for finding out the really useful functions in any API is from actually reading lots of useful source code from people who have coded using that API before-----you quickly see which functions are used the most, which the least, and which not at all (as in, probably shouldn't have even been implemented in the API at all-----too few uses).
Unfortunately, try any search for source code and like 99.9% of it is purely worthless beginner stuff. I don't want the beginner stuff; I want some real code! I don't want to see how you "Hello World" and other beginner stuff in any source code. I also don't want to have to download a zip file, only to have to unzip it into 50 million source files with absolutely no hints as to which files are related to which/etc....
I just want to go to a website, click to view code, and see an entire page worth's of GOOD code which performs USEFUL functions------preferably code snippets from REAL working programs out there!
I would like to see such code for Windows Win32 API, COM objects, Windows multimedia, DirectX, Windows networking, low-level Windows disk/file management, Linux APIs, XWindows, SDL, and OpenGL. I do not want to see code in Visual Basic, C#, "managed" C++, or any other Microsoft .Net language. C code is preferable to C++ code. (Less ugly)
Cryptic and uncommented is fine AS LONG AS the code does not deal with using predefined important numbers that I should be aware of (such as if it is inline assembler code, I will want to know what interrupt dadada function dadada does with input dadada). I will also want to know what is at hardware port dadada if that is hardcoded into the application WITHOUT first searching on my own computer for what is there. Also, if Windows function blahblah takes a certain parameter, and that is sent as some hex number, rather than the standard #defined way in the standard Windows header, then I will want to know what that is/means. Basically, if the code is assuming, then it should be commented, and, if not, I don't care if it is the most cryptic thing on this planet!
Also, when I try checking out books which look potentially useful from the university library, about 70% of them have severely grammatically-challenged authors with severe spelling and logic mistakes in a good portion of their work. Also, their code is FREQUENTLY fraught with horrendous errors such as spelling and semantic errors(they will define a variable one way one place, and use it with a misspelled name throughout, for example). Of the other 30%, about 90% of them are of the beginner/useless variety, and only about 10% serve marginal use.
Public libraries (other than university)----hahahahaha---don't even have ANYTHING! (at least not where I am)
I need some advanced code to read from. What I don't need is pretentious authors who assume I am some newbie who never turned on a computer before! (Well, almost seems like that with some of them).
The other types of books are the purely theoretical types. **** theory! I want to make code, not contemplate how blah blah blah. Besides, I do that already! I don't need a book to give me theoretical ideas/concepts/processes!
I simply want to read large amounts of GOOD advanced code illustrating the practical uses of the APIs is all