下面是引用teldeanmac85于2008-11-12 13:16(3楼)发表的 :
请问程式真的能work吗?
有点问题耶~
能说说那里有问题嘛?
我编译的是用gcc
跑的环境在FreeBSD 及 winXP都可以用~
以下为执行结果
xxxxxx@Anubis [~/temp] > ./test
Please input the number what you want enter:4
Please input NO.1 name:dsfgjlksdfg
Please input NO.2 name:dnfgsklns
Please input NO.3 name:nfdlgsnfds
Please input NO.4 name:nlsfnglds
No.1 dsfgjlksdfg
No.2 dnfgsklns
No.3 nfdlgsnfds
No.4 nlsfnglds
xxxxxx@Anubis [~/temp] >