CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    40

    is it possible to get column and rows in the output

    i reading a file and writing toa nother file.i want output as column and rows as given in the following format is it possible in java
    Ticket| System | order
    _______________________
    456 | machine |678
    457 | machine1 |690
    correspondoing ticket no comes only in corresponding header ticket no..please explain with code..the out put file may be.txt extension

  2. #2
    Join Date
    Oct 2006
    Location
    slavia
    Posts
    42

    Re: is it possible to get column and rows in the output

    until now i my answer is yes.. it is possible ...
    but ...
    if this is what the output looks like ...
    Ticket| System | order
    _______________________
    456 | machine |678
    457 | machine1 |690
    Then how is the input file looks like ?

  3. #3
    Join Date
    Sep 2006
    Posts
    40

    Re: is it possible to get column and rows in the output

    good response,input file may be this tupe<ticket no>456</456>
    i retieve value 4s56 from program....and need to properly align

  4. #4
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: is it possible to get column and rows in the output

    Quote Originally Posted by loveme2006
    input file may be this tupe<ticket no>456</456>
    Are you sure you got that right? Maybe it would be better to post up an extract of the actual file.

    Eighty percent of success is showing up...
    W. Allen
    Please use &#91;CODE]...your code here...&#91;/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  5. #5
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: is it possible to get column and rows in the output

    I posted some code a while ago to pad and align strings that maybe of some help to you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured