Has anybody tried memorizing a programming language? How did your techniques differ from memorizing aspects of a foreign language? I know the basics of Java and C++, but I have no knowledge of specific libraries. I would like to get into programming applications and games for Linux. I hate having to constantly look in the API every time I forget a particular function or class.
If anybody does have experience with C++, would you recommend how to learn a graphics library? What are some good resources? I would like to learn OpenGL and SDL – those seem the best options. Yet every time I try to learn them, I run into errors (mostly because the sources I use are outdated – certain functions have deprecated – or because the sources are written for Windows and not Linux.)