Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Take Input Of 1 Milion Character

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Location
    Shirpur,Dhule Maharastra
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Take Input Of 1 Milion Character

    Hello Frnds......
    Anyone Know About How To Take 1 Milion's Of Character As A Input


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Take Input Of 1 Milion Character

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Moved from Introductions.

    Can you describe the problem a bit more? Do you expect a user to enter millions of characters, read from a file, or . . . . ?

  3. #3
    Junior Member
    Join Date
    Mar 2014
    Location
    Shirpur,Dhule Maharastra
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Take Input Of 1 Milion Character

    I Want To Take Input From Anything..Except OF File..
    I know It is to large to give input but i want to know only how can i take..

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Take Input Of 1 Milion Character

    What have you tried? Are you having any problems with it?
    There are few restrictions on the number of bytes a program can read. The main one is the amount of memory that has been reserved for the program to use.
    The java command has command line options to change the size of the memory that the program uses.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. How to replace the vowels with a user input Character
    By gdoggson in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 4th, 2013, 05:53 AM
  2. Trying to validate a character user input in an array ?
    By lizzy2 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 20th, 2013, 03:04 PM
  3. character problem
    By prettynew in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 4th, 2011, 10:58 AM
  4. [SOLVED] allow a new input, dicarding the last mismatch input without terminating the program
    By voltaire in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 9th, 2010, 04:44 AM
  5. The character '' is an invalid XML character exception getting
    By sumanta in forum What's Wrong With My Code?
    Replies: 5
    Last Post: January 9th, 2010, 12:13 PM