What is the easiest way to read the first char from a txt? I figured out an extremely over complicated way that looks like a prime example of inefficient programming but was hoping there was a better way. I had an if statement inside the while(getline(x.txt, y)). Any help or advice would be great thanks!