How to repeat a piece of text?n++ is the same as n=n+1 n+1 doesn't work because because n does increase in value. it says at 2.
How to only read every 2nd line? Actually, look at this yourself...yeah that should work because getline would take in the newline byte. i think you simplify it by ...
looping only 5 times?!create a bool flag (true/false) and set it to false when u initialize it. make a big loop(where all ...