|
You will be surprised how quick it really is and how little CPU it takes to do this.
Any other language has to resort to the same process under the covers, they have just created functions to do it and called them API's.
C can bite you hard if you get things wrong with strings etc, I see lots of code where people do a strcpy() to a buffer that is the same length as the string, that means the NULL termination which is always added writes over the next storage, then they write something to that storage and the string is no longer null terminated.
I am sure you will get the hang of it, I never write anything but C on the IBM i now (except where I have to) and I have not stumbled into anything that cannot be achieved and run economically.
RPG offers no benefits to me 😊
As an Amazon Associate we earn from qualifying purchases.
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.