ifstream f("events.txt");
if (f.is_open())
{
string l,t;
string myArray[5];
int i = 0;
while (getline(f, l))
{
getline(stringstream(l), t, ',');
cout << t << endl;
myArray[i] = t;
cout << myArray[i] << endl;
i = i + 1;
}
So I have ...
What makes the ideal question? Perhaps it is merely the abstraction of a profound thought and the initialization of a dream, a hope, a thought, a (… 5,024.2 characters omitted). Therefore, I propose that we find such a factor to quantify questions. I propose also that this factor be called QF, or...
ifstream f("events.txt");
if (f.is_open())
{
string l,t;
string myArray[5];
int i = 0;
while (getline(f, l))
{
getline(stringstream(l), t, ',');
cout << t << endl;
myArray[i] = t;
cout << myArray[i] << endl;
i = i + 1;
}
So I have ...
1&1 offers $210.02 for three unrelated domains, avocad-os.com, avocados.global, and avocados.online. Reminder: We're not the leading avocado selling company.
I have an "answering challenges"-related question: I put my two Python answers in a single answer, because I was golfing them both at once and having one Python answer and one Ruby answer was, I thought, enough
Unfortunately, as I golfed, one answer works only in Python 2 and the other only in Python 3, but they're the same number of bytes. Should I split them and have three answers on a challenge? Or just keep them in the same "Python answer", though one is 2 and the other is 3?
When is best for views?
As it turns out, it doesn't matter all that much. Consider this plot:
The mean number of views is slightly higher on Mondays and Wednesdays but things are pretty consistent overall across the whole week.
What about time of day?
Also doesn't seem to matter.
This is...