I knew about \0, bt I was under the assumption I would skip this character thanks to my pre-increment. Oh well, the program works perfectly now anyway.