S
S
Stenrulf2016-04-15 12:20:09
C++ / C#
Stenrulf, 2016-04-15 12:20:09

Do they write in pure C now?

Is C being used now or is it hopelessly outdated?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
enGuardian, 2016-04-22
@stenrulf

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).

D
Dmitry, 2016-04-15
@kashamalasha

All microcontrollers are programmed in ANSI C

P
Puma Thailand, 2015-03-24
@opium

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

C
Centrino, 2015-03-24
@Centrino

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.

F
FanatPHP, 2015-03-24
@FanatPHP

On pkhpklube ban for such a code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question