Can C++ draw a table for matrix? or I must draw a line like this?
__________________________
__________________________
_________________________
_________________________

Recommended Answers

All 11 Replies

Or a nested for loop of '_'

I dont understand a nested for loop of '_'

Perhaps we should ask: what do you mean by a "table for matrix"? And on what medium do you want to draw it (console, gui window, printer paper)?

let me explain, I want to a 2 dimensional array which consist 140*140 and i do it in matrix form. So, if I have do a array, did C++ have a function to draw a line for the array?
Its look like school timetable.
_________________________
|_i,j_|_1_|_2_|__3_|__4_|_5__|
|_1__|___|___|____|____|____|
|_2__|___|___|____|____|____|
|_3__|___|___|____|____|____|

I want above line...or I must draw it bymyself?

You must draw it "bymyself."

What medium do you want to draw it on...

if I have a 400*400? so I must draw it myself.?
Huhuhuhu
So, C++ doest have a function to draw like a maple 11.

if I have a 400*400? so I must draw it myself.?
Huhuhuhu
So, C++ doest have a function to draw like a maple 11.

>What medium do you want to draw it on...

Considering his lack of information, I think it's safe to assume the medium is a terminal.

I repeat, you must draw it yourself.

or, you can design an algorithm to draw it for you... consisting in a series of nested loops...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.