You should add quote at the start and end of a string line, and replace quote with slash. Now Convert String for C++ will do the job for you to get the exact C++ string which you can just copy and paste into your C++ program directly.
TopCoder AutoGen will help you focus your attention on the problem themselves by generating a pure C++ programming and test framework automatically, and help you win the arena in the limited competition time.
You may need to prepare an emails list from a file including emails and many other miscellaneous information. Now with the help of Identify Emails, you can just input all the text into it, and it will generate the pure email list for you in seconds.