Is there any working CPU/GPU BTC solo mining open source software still available for learning purpose?
Preferably in C
Any help appreciated.
Yup! Pooler’s cpuminer compiles on recent machines and has optimizations for various CPU architectures. Give it a try, I found the C source very informative.
https://github.com/pooler/cpuminer