|
From: Ricardo R. <ri...@po...> - 2002-04-10 18:37:35
|
another solution if it can be of help:
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
extern "C"
{
int CeFunction()
{
printf("In C mode.\n");
return 0;
};
}
int main()
{
cout << "In C++ mode.\n";
CeFunction();
cout << "Back in C++ mode.\n";
system("PAUSE");
return 0;
}
|