The following is a personal program I'm working on to make it easy to put pictures from my facebook to my personal website. All it currently does is open a file in which I have all my image addresses, then it saves it to a new file where it is in HTML format. Its been a year since I was in C++ so I dont remember too much. This is what I have so far.
MY ERROR is in the getline function. Im not sure how to use it. I want it to take the first line. Then loop to the second and so on. Then end when it gets to the end of the file.
Thanks for the help but, it's still not working exactly. I changed the code to String and it wouldnt compile. Then I changed it back with the new while loop and it compiled. When it runs though. There is no text in the out file.
I FIGURE IT OUT!! lol, after a couple hours of being an idiot. I realized that I wasn't taking into consideration that the console has to read the file name plus .txt :) THANKS DUOAS!