Computer Science Canada Need help in printing a line |
Author: | supahsain08 [ Sun Mar 30, 2008 6:14 pm ] | ||
Post subject: | Need help in printing a line | ||
hi, is it possible to post a line using coordinates, forexample if i want to post a line at the following coordinates (5,6) Like I remember in Turing you can do that For example here is the following code which shows all the directories and files
Here is the output ![]() (how do i post all dir's in one straight line) |
Author: | HeavenAgain [ Sun Mar 30, 2008 6:51 pm ] | ||
Post subject: | RE:Need help in printing a line | ||
printf or String.format() or Formatter class, use the "indent" flag eg.
|
Author: | supahsain08 [ Sun Mar 30, 2008 7:08 pm ] | ||||
Post subject: | Re: Need help in printing a line | ||||
k i replaced this
with this
but still the same output ![]() Any other suggestion? |
Author: | HeavenAgain [ Sun Mar 30, 2008 7:37 pm ] | ||
Post subject: | RE:Need help in printing a line | ||
|
Author: | supahsain08 [ Sun Mar 30, 2008 7:52 pm ] | ||||
Post subject: | Re: Need help in printing a line | ||||
Thank you very much Can you please help me one more time plz I got that part now i need help with the last modified part, how will i format that correctly ![]() Here is the code
EDIT: how will i add another another thing in this code, forexample if i want to add another word like "hi" after 35s?
|
Author: | HeavenAgain [ Sun Mar 30, 2008 8:18 pm ] | ||||
Post subject: | RE:Need help in printing a line | ||||
welcome ![]() now, i have a question for you
![]() and now you have
and sorry i dont get your last question, what do you mean by, add hi after 35s? after 35 seconds? what is s ![]() |
Author: | supahsain08 [ Sun Mar 30, 2008 8:24 pm ] | ||
Post subject: | RE:Need help in printing a line | ||
i think i figured it out
Output ![]() Thanks again ![]() |