Control flow / Interruption of a control flow

#include <iostream>
using namespace std;

int numbers[] {235711131719};
string str = "";
int count = size(numbers);
for (int i = 0; i < count; i++) {
    if (i % 2 == 1)
        continue;
    str += (str == "" ? "" : "-") +
    to_string(numbers[i]);
}
//str is "2-5-11-17"

cout << "str is '" << str << "'";