[ Skill ] 如何读取一个文件并打印出来

https://www.cnblogs.com/yeungchie/

path = "~/hello"
file = infile( path )
while( gets( x file )
    printf( x )
)
close( file )
posted @ 2020-05-31 05:30  YEUNGCHIE  阅读(952)  评论(0编辑  收藏  举报