Code:
#include <iostream>

int main(int argc, char *argv[])
{
    std::string data("111001001110111010101110111011101110111|101011000010001010101000100000101010101|101001001110011011101110111000101110111|101001001000001000100010101000101010001|111011101110111000101110111000101110111");
    std::vector<std::string> fontMap;
    // How to fill the above vector with substrings from data, separated at '|' ?
    return 0;
}
Edit: Suggest a solution using only std stuff, please!