Hi Himanshu ,
can you elaborate it. is it like, if my program gets two inputs, then
outputs it, i give ch1 = a, ch2 = b, as input, then if i print ch1 and ch2 will
b, the value of ch2 will not be printed ? if flush(stdin) is not given.
Thanks and Regards,
N.Sameer
himanshu kansal <[EMAIL PROTECTED]> wrote: hi.... i m himanshu... from india
fflush(stdin); is a stream cleaning function
when an input is taken, user also presses an ENTER after that.
that ENTER is stored by the compiler in the next bit space as '\r' (the
return carriage character. then if the next input is to b taken... it skips 1
space in it where already this ENTER is stored. that means, if the next input
is a single character... the compiler skips it, as the place was already filled
by the return carriage.
dianne <[EMAIL PROTECTED]> wrote:
can you give me some idea on how to make a turtle graphics...
turtle graphics is a logo language w/c is is particularly popular
among pc user..
the turtle holds a pen in one of two postions, up or down. while the
pen is down, the turtle traces out shapes as it mobesl while hte pen
is up the turtle moves about freely without writing anything,..
thats the concept of turtle graphics...
and i have another question..
what is the use of
fflush(stdin)
thanks in advance!
i'll be very thankful if you will help me about this!
godbless!
>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at
http://www.eScribe.com/software/C-Paradise/
>------------------------------------------_->
SPONSORED LINKS
Basic programming language C programming language Computer
programming languages Programming languages C++ programming language
Software programming language
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "C-Paradise" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
[Non-text portions of this message have been removed]
>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at
http://www.eScribe.com/software/C-Paradise/
>------------------------------------------_->
SPONSORED LINKS
Basic programming language
C programming language
Computer programming languages
Programming languages
C++ programming language
Software programming language
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "C-Paradise" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! India Answers: Share what you know. Learn something new. Click here
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It¿s easy and it¿s free. See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at
http://www.eScribe.com/software/C-Paradise/
>------------------------------------------_->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/C-Paradise/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/