Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4777

General • Re: Pico and C++?

$
0
0
I guess I stay with C.
The good news is that you can mix c-style code with cpp classes. Just -as already proposed - use cpp compiler, add the cpp feature to the cmakelists.txt .

The SDK definitions and methods can be used in c programs as well as in cpp programs. No need to have special cpp samples.

And over time evolve your tooling skills around the various IDE, compilers, build tools, code analyzers, formatters, test frameworks, version control, CI as you need it.

Statistics: Posted by ghp — Mon May 06, 2024 3:19 am



Viewing all articles
Browse latest Browse all 4777

Trending Articles