Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
A huge amount of code is written in C in the field of embedded software for real-time systems for aviation, space, and in general for the army and transport. This is a whole world that is almost invisible on the Internet, unless you are specifically interested. In general, C is necessary if:
1) you are interested in low-level programming - C will be written here when you retire. Any new piece of hardware, a new percentage is first work at a low level, and only then - API, use by applications, and so on .. And there will always be new pieces of iron.
2) you are interested in OS and *nix in particular - similarly. No one will rewrite the Linux kernel in Rust.
3) you are interested in software for real-time systems - it will be relevant for another 25 years at least. Realtimers don't even use C++ in full - any constructor with memory allocation can destroy the determinism in execution time. For software, the reaction of which at a strictly specified time depends on the life of people - this is unacceptable.
These are the areas for a C programmer that are very honorable and the corresponding profit (both in money and in engineering professionalism).
in line 1, a double quote is opened
mysql_connect('localhost','root',")
the code even highlights for you that the line started and did not end
At least read the color scheme. Variables in red, functions in black. die is a function, but it will not be executed, because you have a double quote open in the 3 variable of the connect function, you probably wanted to pass just an empty string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question