String comparison to 0

Hey guys, so basically I'm brain farting here. I needed to output a double linked list backwards by prompting the user to enter a string, then keep adding the new strings to the list until the user enters 0 (then print it out in reverse once 0 is hit etc). How do I go by doing this? I think I'm over thinking it, but is it possible to do this without implementing another method? For some reason, this string check if 0 was entered is throwing me off.
Check if the string
string mystring == "0" instead of the number zero.
wow simple as that huh, well I didn't get any compilation results. I will post anything further if I have any troubles. Thank you for the help!!!
Topic archived. No new replies allowed.