I need to know how to work this out, say for example i have a method is C++ that is helloworld(), and i need to call it from a C program.
// in my C++ program
void helloWorld(){
// some code;
cout<<"hello world";
some code.....
}
This is my C program, how do i call the hello world function?
int main( void ) {
// how do i call helloWorld() of C++ here ?
return 0;
}
i went through this tutorial and came across the above problem