Linked Questions

0 votes
2 answers
234 views

I am trying to call a C file (dispmanx.c) from a C++ file (main.cpp). dispmanx.c : #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdlib.h> #include <stdarg.h>...
Ben's user avatar
  • 13
1 vote
0 answers
210 views

I have imported an Activex component (*.ocx) on Embarcadero C++Builder 10.2 when I build the program I get this warning "Warning W8127 Function defined with different linkage". Can any one tell me ...
geek225's user avatar
  • 157
0 votes
1 answer
162 views

I wanted to know how widely used is the mixing of C++ and C. I mean as in using of C libraries/functions and call it in C++ program like how it is done here Mix C with C++. How extensive is its use in ...
Anzo Sasuke's user avatar
0 votes
0 answers
122 views

I have a .so library that I want to link with C++ code. There's a function called add on the .so file that respect C interface (its declared as extern "C"). I don t have the .h file so I did ...
Poperton's user avatar
  • 2,086
0 votes
0 answers
92 views

I created a project library in Clion and got a *.a file. In qt_gui.pro I added: LIBS += -L /path/to/*.a/file INCLUDEPATH += /path/to/directory/h_files Also I created new .h file with: extern "C" { ...
Daniel Mur's user avatar
0 votes
1 answer
83 views

When I compile a demo main.cpp, it failed because undefined reference to a_mtk_bt_service_init(), but I have found the symbol by nm -D ./libmtk_bt_service_client.so|grep a_mtk_bt_service_init, it'...
sundq's user avatar
  • 763
0 votes
0 answers
77 views

I'm trying to use a C based library into my C++ project. The C header files come already with extern c {...} The problem is as soon as I add some includes which are C++11 based (like Thread, ...
user8249217's user avatar
1 vote
0 answers
67 views

I have developed an application in C using Visual Studio 2022 on a Windows 10 platform. When starting up the application in the console in main(), the user is first asked to specify encode or decode, ...
csharp's user avatar
  • 594

15 30 50 per page
1
2