I know I can use threads to perform operations like:
but I was wondering if there was another way. It just seems like there should be someway to check if the input buffer has data in it or not, I'm just not sure how.Code:getline(cin, str)
Thanks,
PetrolMan