For example, i have test.cpp:
#include <stdio.h>
void test()
{
   printf("test\n");
}
And test.d:
import std.stdio;
extern (C++) void test();
void main()
{
    test();
    readln();
}
How i should compile test.cpp using g++ to link it normally?

Reply via email to