Need an alternative to getline to read the text file and copy each line into a vector..
right now i am using this code but the obj file which i am using in my project is not allowing me to use getline, so it throws lnk2005 error which says getline is already defined in xxx.obj file.
I didnt define anything.. But I am using few libs and objs in my project which required for my tool to work.. So in one of the obj file it is defined i guess.. thats the reason i want an alternative for this.