V
V
veydlin2015-11-02 16:23:50
Electronics
veydlin, 2015-11-02 16:23:50

Is it possible to use C++ in Keil?

Actually, the question itself, when adding a .cpp file to the project, the compiler swears at "class", in Keil, in general, can you write in C++? If so, how?
PS I know perfectly well that "C ++ is not for MK", but now the task requires just that

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Antony, 2015-11-02
@RiseOfDeath

Yes, with a third party compiler (gcc).
There is support for it in the keil, but you will have to edit something with pens.

A
Alexander, 2015-11-03
@komjaga

Why is C++ not for MK?
in some cases very even
ps IAR supports c++

P
Papayaved, 2018-04-15
@Papayaved

From C++, you can only use procedural programming, if you do not initialize heap - it turns out to be somewhat more convenient than in C. I wrote in Keil in C++ and did not create anything dynamically.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question