C/C++

Help in C/C++ hybrid programming

2 146
Hi,

I have a main.c file and I can compile it using the following command :gcc -o test -L.-lftd2xx -Wl, -rpath /usr/local/lib main.c Then, I have to do it in C++, but somehow I can not change this main.c directly to C++, but I need those functions in this main.c and called by my other .cpp files.How to do this? And how to link those libs, (as you see, this main.c have to use a third party .o file) Glad if someone can give me a clue.


Any help will be apprecited.

I didn't find the right solution from the Internet.

References:
https://ubuntuforums.org/showthread.php?t=1697757
Business Solution marketing example

Thank you.







       




This article has suggested to me many new ideas. I will embark on doing it.
router login

galken  
According to this post: color switch

You have to log in before you can reply Login | Sign Up

Points Rules