Inventory system again

solved thanks!
Last edited on
Call getline() once for each string you want to read.
1
2
3
getline(file, str, delim);
// for example, read until you find an open parentheses or end of file
getline(file, str, '(');
Topic archived. No new replies allowed.