Re: [c-prog] while((a = getchar()) == EOF) is the way to get around getc()?

2007-07-08 Thread Brett W. McCoy
Please show your code. On 7/8/07, acuteheptagram [EMAIL PROTECTED] wrote: I thought while((a = getc()) == EOF) was the way to get around getc()? I want to have the program skip over getc()when nothing is being entered on the uart. To unsubscribe, send a blank message to mailto:[EMAIL

Re: [c-prog] command_line_arguments_ in _C

2007-07-08 Thread Pedro Izecksohn
asma sabir wrote: I'm doing OS course in Linux where I m not understanding the command line. is it like DOS cmd line? And I am too confused in cammand_line_arguments like argc and pointer argv. I want to know about each and every thing about these, because of this i could not understand the

Re: [c-prog] while((a = getchar()) == EOF) is the way to get around getc()?

2007-07-08 Thread Pedro Izecksohn
acuteheptagram wrote: I thought while((a = getc()) == EOF) was the way to get around getc()? I want to have the program skip over getc()when nothing is being entered on the uart. My reply: Is getc blocking your program? Search for O_NONBLOCK or O_ASYNC .

Re: [c-prog] oop voilation

2007-07-08 Thread Robert Ryan
virtualized function - is that something along the lines of a constructor. that is, a variable initializing a class [EMAIL PROTECTED] wrote: i found a better answer in complete reference (latter on :) ), it said we cant use a less restrictive (private here) specifier in derived class