changed name of getline to my_getline() to avoid naming conflicts with studio.h lib