<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do compile this simple c++ program with gcc/g++ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132413#M112040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out. You need to use the WCHAR_is_2B define on the compile line. But that's only if use gcc/g++.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2006 14:30:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-11T14:30:42Z</dc:date>
    <item>
      <title>How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132408#M112035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "saprfc.h"&lt;/P&gt;&lt;P&gt;#include "sapitab.h"&lt;/P&gt;&lt;P&gt;#include "sapucx.h"&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   printfU(cU("hello\n"));&lt;/P&gt;&lt;P&gt;   return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132408#M112035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132409#M112036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maribeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is hard to finf a quick answer but you can compile your .c code like this:&lt;/P&gt;&lt;P&gt;as good as i remember is ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gcc &amp;lt;nme&amp;gt;.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please dont forget to reward....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 22:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132409#M112036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T22:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132410#M112037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can already compile regular C programs. I cannot compile c++ programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 22:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132410#M112037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T22:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132411#M112038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry....my mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should do it on your shell like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g++ name.C -o name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://galton.uchicago.edu/~gosset/Compdocs/gcc.html" target="test_blank"&gt;http://galton.uchicago.edu/~gosset/Compdocs/gcc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 22:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132411#M112038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T22:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132412#M112039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gabriel,&lt;/P&gt;&lt;P&gt;You are not understanding the problem, or, perhaps, I'm not explaining it well enough. I know how to compile C++ programs. The problem is when I try to compile C++ programs using the Unicode version of the SAP RFC SDK.  If you look at my source code, you will see that it has some of the Unicode functions supported by the RFC SDK.  How can I compile that with the C++ compiler. If you do a cut and paste of the code I posted and try to compile it with the instructions you posted, you will see the problem. That is assuming, of course, you have the SAP RFC SDK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2006 13:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132412#M112039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-09T13:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do compile this simple c++ program with gcc/g++</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132413#M112040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out. You need to use the WCHAR_is_2B define on the compile line. But that's only if use gcc/g++.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 14:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-compile-this-simple-c-program-with-gcc-g/m-p/1132413#M112040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T14:30:42Z</dc:date>
    </item>
  </channel>
</rss>

