Skip to Content
Former Member
Jan 06, 2006 at 04:30 PM

How do compile this simple c++ program with gcc/g++


I am trying to write a program in C++ which uses the RFCs. I am using UNICODE and would like to use g++ to compile my programs. Here is the simpleist program that I can come up with which I can't compile. How can I compile this program? I can compile it is a C program, but NOT as a C++ program.

#include "saprfc.h"

#include "sapitab.h"

#include "sapucx.h"

#include <stdio.h>

int main()



return 0;