r/C_Programming • u/Ok_Reserve996 • Oct 18 '26
C limitations
Hi all,
I am currently learning c++. Its okay. Not sexy but also not as bad as some say.
The reason I am learning c++ is that I have read that C has limitations as soon as a project gets more complicated. For example, if you make a scientific calculator with many features like graphs etc.
Trading engines/tools are also not recommended to programm in C.
Since I have not learned C and have only read from some old forum posts etc, I cannot confirm/deny these facts.
I am aware that "everything" is possible and that C++ comes with QoL improvements especially with Classes. But I assume that doesn't mean that someone has to use C only for kernel work. Embedded is also possible with C++ right?
I would appreciate your thoughts and opinions.
The goal of this post is to understand how and if C could fit me more with my goals and what real advantages or disadvantages C has.
View all comments
9
u/Snarwin Oct 19 '26
Even if you intend to eventually use C++, learning and understanding C will make you a better C++ programmer (and, many would say, a better programmer in general).
The main difference between C and C++ is that there are many features in C++ that allow the compiler to do things for you automatically that, in C, you would have to do yourself, by hand. If you use these features well, they can save you a lot of time, but if you use them poorly, they can make your code difficult to understand and debug. Even for experienced C++ programmers, it is often the case that what you think the compiler is doing is different from what it is actually doing.
The best way to understand what the C++ compiler is doing for you is to practice doing the same thing yourself, by hand--in other words, to take a program that uses a C++ feature like classes, or
std::vector, and rewrite it in C. And in order to do this, you will need to have a good foundational understanding of C to start with.