I want to broaden my programming experience and so figured that learning C (not C++) would be a nice idea - I've got a starting project (some simple 2D games using SDL) and given it a go, but I have to admit I'm struggling.
Now I consider myself to be a very a competent C# developer, but C is just a completely different world!
- No namespaces.
- Without classes I don't know how to structure my code.
- I understand header files & includes, but my use of them doesn't seem quite right.
- The loss of (for example) the
String
class is a bit of a culture shock.
On top of that I'm finding it tricky to separate out the C++ information from the C information (for example is snprintf a C++ only thing?)
This may sound like an odd request, but are there any good guides for learning C if you have experience in other languages?