Hi
I m working on a speech recognition project using Qt. My problem is that the speech decoder is written in c .is there any way to use the c code within the qt code?
Thanks in advance.
Hi
I m working on a speech recognition project using Qt. My problem is that the speech decoder is written in c .is there any way to use the c code within the qt code?
Thanks in advance.
Is there a way to use C code in C++ code?is there any way to use the c code within the qt code?
The same answer applies as Qt IS C++ code.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
can you give me a simple example ?
Qt Code:
void MyClass::exampleCall() { int x = callFunctionFromC(); }To copy to clipboard, switch view to plain text mode
so what i understand is i ll include the .h header in the qt code and just call the c function.
Am i right ?
sorry ,i mean the c++ code .
thanks, i found out how it works. It's a matter of adding links to include file and libraries .
Bookmarks