| Author |
printing
|
sailsjam
Greenhorn
Joined: Jul 05, 2001
Posts: 18
|
|
I have vector.Each element in the vecor is a string.I want to print each string element in seperate line.How am I to go about doing that. PS the size each may vary. My problem is that when a string is long when it is printed some part of it doesnot show on the page
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
|
Use System.out.println()
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
Peter Gragert
Ranch Hand
Joined: Jan 16, 2001
Posts: 421
|
|
If really neaded for this or another reason use 'substring' to cut out parts of a too long string and 'print(ln)' each part ?
|
 |
 |
|
|
subject: printing
|
|
|