Is there a way to make this run faster and do the same?
#include <iostream> int box[80][20]; void drawbox() { for(int y = 0; y < 20; y++) { for(int x = 0; x < 80; x++) { std::cout << char(box[x][y]); } } } int main(int argc, char* argv[]) { drawbox(); return(0); }
IDE: DEV C ++ || OS: Windows
c ++ performance cout console-application dev-c ++
Mark
source share