View Single Post
Old 10-15-2013, 05:13 PM   #56
Fission
no
Simfile JudgeFFR Simfile AuthorFFR Veteran
 
Fission's Avatar
 
Join Date: Jan 2004
Age: 33
Posts: 1,850
Default Re: Requesting help for programming/ CS majors?

Quote:
Originally Posted by Kibblre View Post
Like I said, I didn't a function to do that directly since I primarily know Java. I was mostly answering rushy's question and not telling superfreak to implement that.
i know, i'm just saying that this is the preferred way to extract characters from an input stream

Quote:
Originally Posted by dAnceguy117 View Post
I think we all posted disclaimers. I assumed Superfreak is short on time.
fair enough

one thing that the OP never mentioned and i think is somewhat important is the size of the character array. can you give more detail on this? that is, is there a size restriction? if you want to do this properly, you should be using a dynamically allocated array (sticking to arrays only) or a vector.
Fission is offline   Reply With Quote