First C Program

Frank Kolmann <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <CAB-SQvja9q7=yMHXO3LexGkmnRoR_fpA=YCXRu2DrcSBBFLHYA@mail.gmail.com>
Hi Steve



I am still learning C++, and sadly the C++ compiler is not installed here.

I feel hamstrung.

I am quite excited by your reply and one goal I have is to use C++ classes

for a subfile processor.

I still intend to do C++ but on MSWin.  If you do a equivalent CDISPR C++

with classes may I beg you to please share, and if you agree I can put it
on the wiki

I have made some changes and latest C version is on the wiki.


Frank

>*Subject: Re: First C program

> *From: Steve Richter <stephenrichter@xxxxxxxxx>

> *Date: Thu, 3 Apr 2014 11:39:56 -0400

>

>I notice that C++ does not support the #pragma mapinc statement:

>

>#pragma mapinc("ddhpf","*libl/REL(*ALL)","input"," ",,"")

> #include "ddhpf"

>

>I was going to suggest compiling as C++ and using classes to reduce the

>complexity of the code. But the CRTCPPMOD command does not support #pragma

> mapinc ?

>

>"QGPL/QRPGLESRC(CSAMPLEC)", line 22.10: CZP0836(30) The #include file

> "ddhpf" is not found.

>
>-Steve
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.