× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Buck

As ever it is a pleasure to hear from you.
The APIs were an esoteric world to me until I found
( I think it was from Scott) how to translate C to equivalent
RPG. From there I learnt how to use pointers long before I
ever tried C.

@Jevgeni.
My original question was how do C programmers cope with the
issue of C Syntax Errors. I did not get much help even on this list.
If I asked the question of the RPG list I would be told go to C list.
Let me say I never set up to disparage C. I think C is enormous.
Your comment makes me feel like the little boy who mentioned
the 'Emperors new clothes'.

PS (it was mentioned use Python then convert Python to C, nuff said)

Frank Kolmann


date: Fri, 14 Feb 2014 13:48:04 -0500
from: Buck Calabro <kc2hiz@xxxxxxxxx>
subject: Re: [C400-L] C coding

On 2/14/2014 9:09 AM, Jevgeni Astanovski wrote:

Learning C is indeed not like breathing, but as soon as you know how to
master it, writing is as easy as breathing.

RPG programmers almost never think about the bare metal. C programmers
almost all do. I think that this is the source of much pain for an RPG
programmer trying to learn C.

IBM APIs are documented quite well - for a C programmer. It's the
simplest thing in the world to go from the docs to a struct, assign a
pointer and walk down the tree. In C. This is a foreign concept to RPG
programmers; just looking at the docs scares many off.

Over on the RPG list we field a fair number of C-ish questions relating
to IBM APIs. Such threads often spawn 'try a different language' posts,
which sometimes degenerate into 'my language is better than yours'.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.