I have a 2D char array in the textView.Basically,I need to map each char to a texture and render the whole view. Given a limited time, what is the possible best library that I can use?

The header for the text view is

    class TextView {
    char **theMap;
    std::string race;
    int gold;
    int flr;
    int hp;
    int atk;
    int def;
    std::string action;
    std::string pendingAction;
    void update(int x, int y, char c);

    // for the rest of the methods, notice that it takes
    // the NEW VALUE rather than the CHANGE as its parameter
    void updateGold(int newValue);
    void updateHp(int newValue);
    void updateAtk(int newValue);
    void updateDef(int newValue);
    void updateFlr(int newValue);
    void updateRace(std::string newValue);
    void updateAction(std::string newValue);

    void print(); // just print to cout, rather than give a reference to a ostream

closed as off-topic by Alexandre Vaillancourt, MichaelHouse Nov 27 '15 at 17:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Alexandre Vaillancourt, MichaelHouse
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Use SDL. It's one of the best availiable options. You can easily do simple graphics with it. And it also supports OpenGL graphics too if you want somethign more advanced. \$\endgroup\$ – HolyBlackCat Nov 26 '15 at 21:04
  • \$\begingroup\$ Or you can use QT too \$\endgroup\$ – Viet Nov 29 '15 at 3:13

Browse other questions tagged or ask your own question.