Thanks for pointing out my obvious error. void works and the program runs fine. Thanks for the answers and sorry for wasting your time.
Thanks for pointing out my obvious error. void works and the program runs fine. Thanks for the answers and sorry for wasting your time.