[It02th04] chaoooooooo

NGUYEN VU TUAN ANH nvta_jamesbond@yahoo.com
Sun, 15 Dec 2002 07:47:25 -0800 (PST)


--0-679977915-1039967245=:98250
Content-Type: text/plain; charset=us-ascii


Day la chuong trinh nhap vao mot chuoi roi cho chuoi do roi tren man hinh viet bang C. Trung cho ban xem tham khao roi chuyen qua thuat ngu cua Pascal. Nhan tien tui cung gui cho moi nguoi trong nhom tham khao.

 

#include <conio.h>

#include <stdio.h>

#include <dos.h>

 

void main()

{

clrscr();

int i;

char s[100];

gets(s);//hoac cung co the dung scanf("%s",&s);

for(i=0;i<50;i++)

   {

    delay(80);

    clrscr();

    gotoxy(1,i);

    printf("%s",s);

   }

getch();

}



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-679977915-1039967245=:98250
Content-Type: text/html; charset=us-ascii

<FONT face=Verdana size=1>
<DIV><FONT face=Arial size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=VNI-Centur size=3>Day la chuong trinh nhap vao mot chuoi roi cho chuoi do roi tren man hinh viet bang C. Trung cho ban xem tham khao roi chuyen qua thuat ngu cua Pascal. Nhan tien tui cung gui cho moi nguoi trong nhom tham khao.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>&nbsp;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>#include &lt;conio.h&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>#include &lt;stdio.h&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>#include &lt;dos.h&gt;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>void main()<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>{<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>clrscr();<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>int i;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>char s[100];<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>gets(s);//hoac cung co the dung scanf("%s",&amp;s);<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>for(i=0;i&lt;50;i++)<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>delay(80);<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>clrscr();<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>gotoxy(1,i);<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>printf("%s",s);<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=VNI-Centur>getch();<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=VNI-Centur size=3>}</FONT></P></FONT></DIV></FONT><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-679977915-1039967245=:98250--