[clug-progsig] subroutines in C?
Michael Walters
waltersm at telusplanet.net
Sat Feb 26 15:41:38 PST 2005
Hello Shawn Grover and others in Progsig,
I thought, would it not be neat to write some subroutines in C in a manner
similar to subroutines in Fortran and Assembler?
But there was no reference to subroutines in the index to "Absolute Beginner's
Guide to C".
Indeed, there was no reference to subroutines in the index of each of twelve
of the thirteen books on C which I received from my cousin.
There was a reference to subroutines in one C book in a chapter which dealt
with interpretive languages like Basic.
And in that chapter the text said that although there were no stand alone
subroutines in Basic there was the gosub option.
So does C not have an analogue to the subroutine as used in Fortran or
Assembler?
I wanted to write some code that called on subroutines that I could write. Is
this possible?
Any help would be appreciated.
regards,
Michael Walters
More information about the clug-progsig
mailing list