codeplea / genann

simple neural network library in ANSI C
https://codeplea.com/genann
zlib License
1.99k stars 237 forks source link

Anything about C++? #40

Closed IsometricShahil closed 3 years ago

IsometricShahil commented 4 years ago

I am trying to use a simple NN library in a C++ program but genann is for C not C++ Can you please make a C++ version or reccomend smth similiar?

fennecdjay commented 4 years ago

IMHO, there is no need for a C++ version. It is just a matter of compiling and linking using appropriate tools, as the you can call C code from C++. Look this stack-overflow for further information.

Hope it helps. Good luck.

leonardoInf commented 4 years ago

Well, you have to cast two pointers on lines 121 and 183 but the compiler will warn you about that