Illuminatos
#OVOXO
I ain't want to do this but I'm about to go crazy over here. 

Basically I have to take the Gettysburg Address and convert it into pig latin.
I have to take the first letter of each word, put it at the end of the word and add an "ay" at the end. So for example "Four score and seven" would be "Ourfay coresay ndaay evensay." After that I have to count the number of words, letters and characters in the file.
The 2nd part is easy but the actual converting the text into pig latin has me losing my mind. I've been going at it for the last three days and I just can't figure it out.
The professor says to process each letter one at a time but I don't know how to store the letter and put it into the end of the word.
This is what my main is looking like
Basically this puts an ay at the end of every word except for words that start a new line.
I just need help with the converting to pig latin part, I can do the word/letter counting. I'm not asking you to do my assignment but any hints/advice would be helpful.
EDIT: Btw this is what I get when I run the program in the OP.


Basically I have to take the Gettysburg Address and convert it into pig latin.

Gettyburg Address
Abraham Lincoln
Four score and seven years ago our fathers brought forth on this
continent a new nation, conceived in liberty, and dedicated to the
proposition that all men are created equal. Now we are engaged in a
great civil war, testing whether that nation, or any nation so conceived
and so dedicated, can long endure. We are met on a great battlefield of
that war. We have come to dedicate a portion of that field, as a final
resting place for those who here gave their lives that that nation might
live. It is altogether fitting and proper that we should do this. But,
in a larger sense, we cannot dedicate--we cannot consecrate--we cannot
hallow this ground. The brave men, living and dead, who struggled here,
have consecrated it, far above our poor power to add or detract. The
world will little note, nor long remember, what we say here but it can
never forget what they did here. It is for us the living, rather to be
dedicated here to the unfinished work which they who fought here have
thus far so nobly advanced. It is rather for us to be here dedicated to
the great task remaining before us,--that from these honored dead we
take increased devotion to that cause for which they gave the last full
measure of devotion--that we here highly resolve that these dead shall
not have died in vain--that this nation, under God, shall have a new
birth of freedom--that government of the people, by the people, for the
people, shall not perish from the earth.
I have to take the first letter of each word, put it at the end of the word and add an "ay" at the end. So for example "Four score and seven" would be "Ourfay coresay ndaay evensay." After that I have to count the number of words, letters and characters in the file.
The 2nd part is easy but the actual converting the text into pig latin has me losing my mind. I've been going at it for the last three days and I just can't figure it out.
The professor says to process each letter one at a time but I don't know how to store the letter and put it into the end of the word.

This is what my main is looking like
Basically this puts an ay at the end of every word except for words that start a new line.

I just need help with the converting to pig latin part, I can do the word/letter counting. I'm not asking you to do my assignment but any hints/advice would be helpful.

EDIT: Btw this is what I get when I run the program in the OP.
Last edited:




