Is there a way to add strings to a list without the quotation marks in C++?

Joined
Nov 9, 2020
Messages
1
Reaction score
0
I have a C++ file with over 4000 lines of first names, and I put all of the names in a list using

C++:
#include <iostream>
#include <bits/stdc++.h>

using namespace std;

list<string> list_name(99999, Aaren
Aarika
Abagael
...
but I don't really feel like spending hours putting quotation marks around every name. Is there a way I can get around this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top