The main problem for newcomer with K&R C tutorial may be not even learning style, but language version it uses. It uses so-called old C language version - first version existed, requires special gcc option to enable. In particular, this version permits such old style of function definition:
int main (argc, argv) int argc; char ** argv; { ....; }
as well as main function format:
void main();
I first was serious to try learning C programing starting with 2003 or 2004, at that time I was under windows. They gave me right this among others (another was Introduction to C++ html book). So, I had to improvise while reading that book, because whatever language was in use by compiler, when I got it (I used either borland or visual studio) - used newer, more standartized language version (I guess, at least C89, if not C99, should be least supported by them).
In Wed, 29 Dec 2021 11:57:22 +0530 geuristic geuristic@gmail.com wrote:
Hello everyone, I am geuristic. I'm a university student (Computer Science and Engineering) in my first semester and I know the basics of programming (almost everything on a conceptual level except OOPS).
I am currently programming in Java (I haven't built any actual apps/programs yet) and have heard that C / C++ are actually really close to the system; so they give the programmer a more granular control (like garbage collection, memory allocation, etc.).
Please point me to learning resources (perhaps the ones the developers used) to get me up to the mark of contributing towards geany?
The resources I know about: Ritchie-Kernighan book on C (not good for beginners) _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users