Alexandre
Alexandre

Reputation: 13308

Android NDK and ANSI C

I started using andoid ndk and found some examples how to use it. They showed some easy code written in C++ and it's obvious. It's known that android ndk allows to write code in C++.

But is it possible to write the code in ANSI C, not in C++, for android ndk?

Upvotes: 1

Views: 856

Answers (1)

Mārtiņš Možeiko
Mārtiņš Možeiko

Reputation: 12927

Yes, you can write C code. There is nothing that prevents you to do so. All NDK native API is actually C API.

Upvotes: 3

Related Questions