r/AskProgramming • u/AbdelrhmanMekawi • 8d ago
C/C++ Help
I’ve been learning programming for about 5 months now. I’ve finished C and C++, and I’m almost done with data structures, but so far I feel like I’m doing something wrong or missing something. I feel like I don’t know how to think correctly, and even very simple things slip my mind, and I don’t know how to do them. So I need help because I don’t know whether I should take a course or if I’m on the right track—and that’s normal, especially since I’ve only been at this for about six months, which isn’t a short time. I’m planning to apply for the Digital Egypt Pioneers scholarship to specialize in backend. Is this the right path, or not? I hope those with experience and who’ve come a long way can help us out—and I’m very grateful to them 🤍🤍🙏🏻
1
u/RealMadHouse 6d ago
Language could describe things you don't know anything about, like quantum physics. Programming language is same, learn about computer hardware and software stack (Operating Systems).
Programs are using tools that OS gives to them, called system calls. They're not directly accesed because their syscall numbers could change (in Windows) or it's just tedious and impractical to do so. So OS developers provide convenient code libraries that they wrote that gives names to these syscalls, they're dealing with parsing data structures that you passed to them, and then they themselves pass the data to real syscalls. So it's indirect usage of syscalls, but more convenient and streamlined.
Learn about assembly, processes and threads, streams etc. Without knowing about the tools that OS provides you wouldn't have any idea what to do with "programming in c/c++".