CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: systemout

  1. #1
    Join Date
    May 2000
    Posts
    2

    systemout

    Hi
    I am creating a program to read and external txt file and output the text. However the output is not happening. I have tried may combinations can anybody help.
    Thanks
    Judman

    public class wordCollection{
    public static void main(String[] args) throws IOException{
    InputStreamReader reader = new InputStreamReader(System.in);
    BufferedReader input = new BufferedReader(reader);

    String text = input.readLine();
    System.out.println("");




  2. #2
    Join Date
    Jan 2000
    Location
    Canada
    Posts
    249

    Re: systemout

    Well, if you want to output the text that you are reading, you actually have to output the text, not "".

    -------------------------------------------
    weaver
    icq# 64665116
    Please rate this post.
    http://weaver.x7.htmlplanet.com

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