In the book about Viet Nam by Al Santoli that I read, at the beginning of each story gave the name of the person who submitted it, their rank, and area where the story took place. So it showed more or less how Santoli just compiled the stories and still gave credit to those who told their stories. I don't know the legalities of royalties for book sales. I'd say they were paid per story and then signed a release from having to be paid for each book sale. Something to look into with a publisher or lawyer I guess.
And also, the first computer class I took in high school, which was the first time it was even offered, was teaching BASIC language and programming. I still have some of my old books and notes, like they're going to help me now. :computer: