作者teexit (獃獃)
站内Programming
标题[请益] c程式的函数宣告写法
时间Fri Jun 15 19:55:40 2012
今天看到一份c code
void store(io, message)
struct fileprocessor io;
String message;
{
}
类似这样的写法,不过从以前到现在都没看过。
这写法是某平台特有?
因为我在Vc是error
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 101.14.132.149
1F:推 LPH66:这是旧式的函式宣告 140.112.28.91 06/15 20:08
2F:推 clanguage:这个很久了啦 现在没再用了 61.217.51.75 06/15 22:13
3F:→ descent:K&R 语法 119.14.102.197 06/15 23:27
4F:推 yauhh:很老式的C语法 59.112.224.179 06/16 00:04
5F:→ chunhsiang:早期C传递参数的宣告方法 114.37.81.70 06/16 11:21
6F:→ teexit:感谢前辈们的回覆@_@118.169.212.176 06/21 22:57