Re: [algogeeks] Re: impliment cin : MS question

2011-03-06 Thread Ashish Goel
write an algo to implement cin or an app which takes string from user..

Best Regards
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652


On Sun, Mar 6, 2011 at 12:22 PM, ritu ritugarg.c...@gmail.com wrote:

 what question is being discussed here?

 On Mar 2, 6:11 pm, Ashish Goel ashg...@gmail.com wrote:
  can it be done without use of a goto? remember that the user can use
  backspace to remove the previous entered string...eg...before pressing
  enter, the user enters abcbsdef so the string is abdef
 
  How to decide how much buffer is optimum and would use of realloc be a
 good
  strategy?
 
  Also, i have a very basic question? Why GOTO is not recommended, i see it
  used like anything in linux kernel..not able to corelate security
  limitations in user mode vers kernel mode.
 
  Best Regards
  Ashish Goel
  Think positive and find fuel in failure
  +919985813081
  +919966006652

 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Re: impliment cin : MS question

2011-03-05 Thread ritu
what question is being discussed here?

On Mar 2, 6:11 pm, Ashish Goel ashg...@gmail.com wrote:
 can it be done without use of a goto? remember that the user can use
 backspace to remove the previous entered string...eg...before pressing
 enter, the user enters abcbsdef so the string is abdef

 How to decide how much buffer is optimum and would use of realloc be a good
 strategy?

 Also, i have a very basic question? Why GOTO is not recommended, i see it
 used like anything in linux kernel..not able to corelate security
 limitations in user mode vers kernel mode.

 Best Regards
 Ashish Goel
 Think positive and find fuel in failure
 +919985813081
 +919966006652

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.