When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
@glad gazelle
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
!f
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
std::vector<std::string> number(const std::vector<std::string>& lines) {
vector<string> newList;
for (int i = 0; i < newList.size(); i++) {
newList.insert(newList.begin() + i, i + ": " + lines.begin() + i);
}
return newList;
}
a bunch of reasons